From 4746ef09cd28ce2a6fbc9e9b3cc4ea3a4b8c0b70 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Wed, 7 Feb 2024 01:20:19 +0300 Subject: [PATCH] Fix linux build --- rpcs3/Emu/RSX/VK/VKTextureCache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/VKTextureCache.cpp b/rpcs3/Emu/RSX/VK/VKTextureCache.cpp index f2375f1e6d..9535d54331 100644 --- a/rpcs3/Emu/RSX/VK/VKTextureCache.cpp +++ b/rpcs3/Emu/RSX/VK/VKTextureCache.cpp @@ -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(transfer_width), + .image_height = static_cast(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) };