fix image scale when using upscaling (#317)

This commit is contained in:
Logan McNaughton
2025-03-10 22:53:16 +01:00
committed by GitHub
parent 8aa23e1665
commit 84dcc6c154
+1 -1
View File
@@ -414,7 +414,7 @@ static void render_frame(Vulkan::Device &device)
if (image)
{
VkViewport vp = cmd->get_viewport();
calculate_viewport(&vp.x, &vp.y, &vp.width, &vp.height, image->get_height());
calculate_viewport(&vp.x, &vp.y, &vp.width, &vp.height, image->get_height() / gfx_info.upscale);
if (gfx_info.crt)
{