summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-24 08:24:19 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:33 +0200
commit40179282137370380387cab2610dcf21bd709efa (patch)
treed6dc0b0f53008855090739e3d58a9d63f456668e /src
parentgl_graphics_program: Fix texture buffer bindings (diff)
downloadyuzu-40179282137370380387cab2610dcf21bd709efa.tar
yuzu-40179282137370380387cab2610dcf21bd709efa.tar.gz
yuzu-40179282137370380387cab2610dcf21bd709efa.tar.bz2
yuzu-40179282137370380387cab2610dcf21bd709efa.tar.lz
yuzu-40179282137370380387cab2610dcf21bd709efa.tar.xz
yuzu-40179282137370380387cab2610dcf21bd709efa.tar.zst
yuzu-40179282137370380387cab2610dcf21bd709efa.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index cf03280fa..ceec83a8a 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -159,8 +159,7 @@ Shader::RuntimeInfo MakeRuntimeInfo(const GraphicsProgramKey& key,
Shader::RuntimeInfo info;
switch (program.stage) {
case Shader::Stage::TessellationEval:
- // We have to flip tessellation clockwise for some reason...
- info.tess_clockwise = key.tessellation_clockwise == 0;
+ info.tess_clockwise = key.tessellation_clockwise != 0;
info.tess_primitive = [&key] {
switch (key.tessellation_primitive) {
case Maxwell::TessellationPrimitive::Isolines: