summaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-05-26 00:57:38 -0300
committerGravatar ReinUsesLisp2020-05-26 16:33:50 -0300
commit606a62d4c740eec470b19e57322645de20866abf (patch)
treeb3601eb861cda03dc6f12b752369f978de28a7b5 /src/core/frontend/framebuffer_layout.cpp
parentfixed_pipeline_state: Remove unnecessary check for front faces flip (diff)
downloadyuzu-606a62d4c740eec470b19e57322645de20866abf.tar.gz
yuzu-606a62d4c740eec470b19e57322645de20866abf.tar.xz
yuzu-606a62d4c740eec470b19e57322645de20866abf.zip
gl_rasterizer: Port front face flip check from Vulkan
While Vulkan was assuming we had no negative viewports, OpenGL code was assuming we had them. Port the old code from Vulkan to OpenGL, checking if the first viewport is negative before flipping faces. This is not a complete implementation since we only check for the first viewport to be negative. That said, unless a game is using Vulkan, OpenGL and NVN games should be fine here, and we can always compare with our Vulkan backend to see if there's a difference.
Diffstat (limited to 'src/core/frontend/framebuffer_layout.cpp')
0 files changed, 0 insertions, 0 deletions