diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-22 01:05:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-22 01:05:25 -0400 |
| commit | 125d7122ac6c369d461d4219aaecfe4563362c01 (patch) | |
| tree | 19dfc78904b0cced2abfa05aaebd5fa2a8f88a85 /src/video_core/renderer_opengl/gl_state.h | |
| parent | 92b85fad70084d8f37a97939cbb18e131f531b11 (diff) | |
| parent | 2b9eee4d1ed13e98de21d88d8920288b58d7f4eb (diff) | |
Merge pull request #1124 from Subv/logic_ops
GPU: Implemented logic ops.
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, 4 insertions, 1 deletions
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 { |
