diff options
author | Rodolfo Bogado <rodolfoosvaldobogado@gmail.com> | 2018-11-14 00:13:16 +0100 |
---|---|---|
committer | Rodolfo Bogado <rodolfoosvaldobogado@gmail.com> | 2018-11-17 23:59:32 +0100 |
commit | 1881e86c434edfc17f78f68f07443bef1120cda1 (patch) | |
tree | 3694a8acdc510e4d17e124b0c4285c99c14ccfd4 /src/video_core/renderer_opengl/gl_shader_manager.h | |
parent | Merge pull request #1722 from MysticExile/enable-applictation-crash-report (diff) | |
download | yuzu-1881e86c434edfc17f78f68f07443bef1120cda1.tar yuzu-1881e86c434edfc17f78f68f07443bef1120cda1.tar.gz yuzu-1881e86c434edfc17f78f68f07443bef1120cda1.tar.bz2 yuzu-1881e86c434edfc17f78f68f07443bef1120cda1.tar.lz yuzu-1881e86c434edfc17f78f68f07443bef1120cda1.tar.xz yuzu-1881e86c434edfc17f78f68f07443bef1120cda1.tar.zst yuzu-1881e86c434edfc17f78f68f07443bef1120cda1.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_manager.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_manager.h | 1 |
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: |