summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-26 00:57:38 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-05-26 16:33:50 -0300
commit606a62d4c740eec470b19e57322645de20866abf (patch)
treeb3601eb861cda03dc6f12b752369f978de28a7b5 /src/common/string_util.cpp
parentefe7b7483b9c1fc09b43f40a87e43dab476c619a (diff)
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/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions