diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-06 23:02:27 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-30 19:10:35 -0300 |
| commit | 704744bb72972f99fa992e286b3de5967b48af37 (patch) | |
| tree | d3e7f51187daf4bba5f93df6cb72503961d210d0 /src/video_core/renderer_opengl/gl_state.h | |
| parent | 3bbaa98c78da8a45227fcd7abd82532f6f49851b (diff) | |
gl_rasterizer_cache: Move swizzling to textures instead of state
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 a5a7c0920..ced602bf6 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -127,19 +127,9 @@ public: GLuint texture; // GL_TEXTURE_BINDING_2D GLuint sampler; // GL_SAMPLER_BINDING GLenum target; - struct { - GLint r; // GL_TEXTURE_SWIZZLE_R - GLint g; // GL_TEXTURE_SWIZZLE_G - GLint b; // GL_TEXTURE_SWIZZLE_B - GLint a; // GL_TEXTURE_SWIZZLE_A - } swizzle; void Unbind() { texture = 0; - swizzle.r = GL_RED; - swizzle.g = GL_GREEN; - swizzle.b = GL_BLUE; - swizzle.a = GL_ALPHA; } void Reset() { |
