From f24ab6d9e6c34c6e8946657d71e7b70c3c06e05a Mon Sep 17 00:00:00 2001 From: Subv Date: Mon, 20 Aug 2018 18:43:11 -0500 Subject: GLState: Allow enabling/disabling GL_COLOR_LOGIC_OP independently from blending. --- src/video_core/renderer_opengl/gl_state.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/video_core/renderer_opengl/gl_state.h') diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index bdb02ba25..219b65a8a 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -83,7 +83,10 @@ public: } color; // GL_BLEND_COLOR } blend; - GLenum logic_op; // GL_LOGIC_OP_MODE + struct { + bool enabled; // GL_LOGIC_OP_MODE + GLenum operation; + } logic_op; // 3 texture units - one for each that is used in PICA fragment shader emulation struct TextureUnit { -- cgit v1.2.3