diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-05 21:47:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-05 21:47:35 +0100 |
commit | a423e0f9e0f7d759f22474e93a18cedeb8ab418c (patch) | |
tree | 035850a679507023245f35cfd4b1e37a66ca6a59 /src/video_core | |
parent | Merge pull request #11957 from liamwhite/null2 (diff) | |
download | yuzu-a423e0f9e0f7d759f22474e93a18cedeb8ab418c.tar yuzu-a423e0f9e0f7d759f22474e93a18cedeb8ab418c.tar.gz yuzu-a423e0f9e0f7d759f22474e93a18cedeb8ab418c.tar.bz2 yuzu-a423e0f9e0f7d759f22474e93a18cedeb8ab418c.tar.lz yuzu-a423e0f9e0f7d759f22474e93a18cedeb8ab418c.tar.xz yuzu-a423e0f9e0f7d759f22474e93a18cedeb8ab418c.tar.zst yuzu-a423e0f9e0f7d759f22474e93a18cedeb8ab418c.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 3983b2eb7..c0e8431e4 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -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; } |