diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-30 01:17:16 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-30 01:27:25 +0100 |
commit | 3c6557c235a9b5a1f76ac5a07d301fdf3a615e2a (patch) | |
tree | 65c508f3183afcb14074408717e9f3eac40d8c92 /src/video_core/renderer_opengl/gl_state.h | |
parent | gl_state: Change SetDefaultViewports to use default constructor (diff) | |
download | yuzu-3c6557c235a9b5a1f76ac5a07d301fdf3a615e2a.tar yuzu-3c6557c235a9b5a1f76ac5a07d301fdf3a615e2a.tar.gz yuzu-3c6557c235a9b5a1f76ac5a07d301fdf3a615e2a.tar.bz2 yuzu-3c6557c235a9b5a1f76ac5a07d301fdf3a615e2a.tar.lz yuzu-3c6557c235a9b5a1f76ac5a07d301fdf3a615e2a.tar.xz yuzu-3c6557c235a9b5a1f76ac5a07d301fdf3a615e2a.tar.zst yuzu-3c6557c235a9b5a1f76ac5a07d301fdf3a615e2a.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 805ee9e4a..b95f33613 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -70,7 +70,7 @@ public: } stencil; struct Blend { - bool enabled = true; // GL_BLEND + bool enabled = false; // GL_BLEND GLenum rgb_equation = GL_FUNC_ADD; // GL_BLEND_EQUATION_RGB GLenum a_equation = GL_FUNC_ADD; // GL_BLEND_EQUATION_ALPHA GLenum src_rgb_func = GL_ONE; // GL_BLEND_SRC_RGB @@ -183,9 +183,6 @@ public: void ApplyPolygonOffset() const; void ApplyAlphaTest() const; - /// Set the initial OpenGL state - static void ApplyDefaultState(); - /// Resets any references to the given resource OpenGLState& UnbindTexture(GLuint handle); OpenGLState& ResetSampler(GLuint handle); |