summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authortfarley <tfarleygithub@gmail.com>2015-05-29 03:41:37 +0200
committertfarley <tfarleygithub@gmail.com>2015-06-09 01:18:17 +0200
commitd42275f11cc53000fead76b7c695fb370d19e56d (patch)
tree351cd273da23c232bde19e49ca2f389dc1cb4dd0 /src/video_core/renderer_opengl/gl_state.h
parentMerge pull request #848 from lioncash/ldm (diff)
downloadyuzu-d42275f11cc53000fead76b7c695fb370d19e56d.tar
yuzu-d42275f11cc53000fead76b7c695fb370d19e56d.tar.gz
yuzu-d42275f11cc53000fead76b7c695fb370d19e56d.tar.bz2
yuzu-d42275f11cc53000fead76b7c695fb370d19e56d.tar.lz
yuzu-d42275f11cc53000fead76b7c695fb370d19e56d.tar.xz
yuzu-d42275f11cc53000fead76b7c695fb370d19e56d.tar.zst
yuzu-d42275f11cc53000fead76b7c695fb370d19e56d.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r--src/video_core/renderer_opengl/gl_state.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index 6b97721d6..26b916360 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -20,6 +20,13 @@ public:
} depth;
struct {
+ GLboolean red_enabled;
+ GLboolean green_enabled;
+ GLboolean blue_enabled;
+ GLboolean alpha_enabled;
+ } color_mask; // GL_COLOR_WRITEMASK
+
+ struct {
bool test_enabled; // GL_STENCIL_TEST
GLenum test_func; // GL_STENCIL_FUNC
GLint test_ref; // GL_STENCIL_REF