diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-09-15 10:38:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-15 10:38:10 -0400 |
| commit | 393cc3ef2fe6e6b83c7eb30dc4c0a530ffbe8e43 (patch) | |
| tree | d54fd00e57e4f117e6b278bf287676bf62aaedb5 /src/video_core/renderer_opengl/gl_state.h | |
| parent | b8b1747704a612145655a1391c1ebf4d1f9e5ba6 (diff) | |
| parent | 6b997c8f7f904caa980ea364a3b1559e6122cdc4 (diff) | |
Merge pull request #2851 from ReinUsesLisp/srgb
renderer_opengl: Fix sRGB blits
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -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; |
