diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-03 06:05:23 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-11 00:31:42 +0200 |
commit | 78574746bddb1d62d85ae90707e1f0283af2a5db (patch) | |
tree | 281fa538f3a86d1bb56b5a3887287fa2d4a8883d /src/video_core/renderer_opengl/gl_state.h | |
parent | Merge pull request #2823 from ReinUsesLisp/shr-clamp (diff) | |
download | yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.gz yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.bz2 yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.lz yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.xz yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.zst yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 949b13051..c358d3b38 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -175,14 +175,6 @@ public: return cur_state; } - static bool GetsRGBUsed() { - return s_rgb_used; - } - - static void ClearsRGBUsed() { - s_rgb_used = false; - } - void SetDefaultViewports(); /// Apply this state as the current OpenGL state void Apply(); @@ -253,8 +245,6 @@ public: private: static OpenGLState cur_state; - // Workaround for sRGB problems caused by QT not supporting srgb output - static bool s_rgb_used; struct { bool blend_state; bool stencil_state; |