mirror of
https://github.com/gopher64/gopher64.git
synced 2026-11-05 13:53:51 +01:00
fix image scale when using upscaling (#317)
This commit is contained in:
1 parent
8aa23e1665
commit
84dcc6c154
1 file changed
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user