renderer_vulkan: render on bottom of surface clip when flipped

This commit is contained in:
Liam 2023-10-27 14:21:56 -04:00
parent 940618a64d
commit 5e06f8ff07

View file

@ -82,7 +82,7 @@ VkViewport GetViewportState(const Device& device, const Maxwell& regs, size_t in
}
if (y_negate) {
y += height;
y += conv(static_cast<f32>(regs.surface_clip.height));
height = -height;
}