1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Fix linux build

This commit is contained in:
kd-11 2024-02-07 01:20:19 +03:00 committed by kd-11
parent ed93bbd16d
commit 4746ef09cd

View File

@ -238,8 +238,8 @@ namespace vk
.src_offset = 0,
// TODO: Check interaction with anti-aliasing
.image_width = (u16)transfer_width,
.image_height = (u16)transfer_height,
.image_width = static_cast<u16>(transfer_width),
.image_height = static_cast<u16>(transfer_height),
.image_pitch = real_pitch,
.image_bpp = context == rsx::texture_upload_context::dma ? internal_bpp : rsx::get_format_block_size_in_bytes(gcm_format)
};