summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_manager.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-19 04:59:10 +0100
committerGitHub <noreply@github.com>2018-11-19 04:59:10 +0100
commit6dc33fb812a668487c0652673977a63ada2632ee (patch)
treed658210e06996f9b157b552d78f9b542d202d357 /src/video_core/renderer_opengl/gl_shader_manager.h
parentMerge pull request #1555 from ccawley2011/clang-format-docker (diff)
parentdrop support for non separate alpha as it seems to cause issues in some games (diff)
downloadyuzu-6dc33fb812a668487c0652673977a63ada2632ee.tar
yuzu-6dc33fb812a668487c0652673977a63ada2632ee.tar.gz
yuzu-6dc33fb812a668487c0652673977a63ada2632ee.tar.bz2
yuzu-6dc33fb812a668487c0652673977a63ada2632ee.tar.lz
yuzu-6dc33fb812a668487c0652673977a63ada2632ee.tar.xz
yuzu-6dc33fb812a668487c0652673977a63ada2632ee.tar.zst
yuzu-6dc33fb812a668487c0652673977a63ada2632ee.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_manager.h')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_manager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.h
index 2a069cdd8..9a5d7e289 100644
--- a/src/video_core/renderer_opengl/gl_shader_manager.h
+++ b/src/video_core/renderer_opengl/gl_shader_manager.h
@@ -67,6 +67,7 @@ public:
glUseProgramStages(pipeline.handle, GL_FRAGMENT_SHADER_BIT, fs);
state.draw.shader_program = 0;
state.draw.program_pipeline = pipeline.handle;
+ state.geometry_shaders.enabled = (gs != 0);
}
private: