diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 20:38:39 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 20:38:49 +0100 |
commit | 5b989f189fbf30535f5509a2157dc755fcb4d8f0 (patch) | |
tree | c0b96b4e098e1cb4b51ad5b04bf7686e33cb5545 /src/video_core/renderer_opengl/gl_shader_manager.h | |
parent | Merge pull request #3244 from ReinUsesLisp/vk-fps (diff) | |
download | yuzu-5b989f189fbf30535f5509a2157dc755fcb4d8f0.tar yuzu-5b989f189fbf30535f5509a2157dc755fcb4d8f0.tar.gz yuzu-5b989f189fbf30535f5509a2157dc755fcb4d8f0.tar.bz2 yuzu-5b989f189fbf30535f5509a2157dc755fcb4d8f0.tar.lz yuzu-5b989f189fbf30535f5509a2157dc755fcb4d8f0.tar.xz yuzu-5b989f189fbf30535f5509a2157dc755fcb4d8f0.tar.zst yuzu-5b989f189fbf30535f5509a2157dc755fcb4d8f0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_manager.h | 4 |
1 files changed, 4 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 3703e7018..478c165ce 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.h +++ b/src/video_core/renderer_opengl/gl_shader_manager.h @@ -50,6 +50,10 @@ public: current_state.geometry_shader = 0; } + void UseTrivialFragmentShader() { + current_state.fragment_shader = 0; + } + private: struct PipelineState { bool operator==(const PipelineState& rhs) const { |