3
0
Fork 0
forked from suyu/suyu

renderer_vulkan: render on bottom of surface clip when flipped (#11894)

This commit is contained in:
liamwhite 2023-11-05 15:47:35 -05:00 committed by GitHub
parent 511c1f0c8b
commit a423e0f9e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}