diff options
| author | bunnei <bunneidev@gmail.com> | 2015-09-05 16:19:52 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2015-09-05 16:19:52 -0400 |
| commit | 51e91dfd8608126b2cb409fa2e8513f28fbf293b (patch) | |
| tree | f76ddff71ac10838e6429815d8267c82b602737f /src/video_core/renderer_opengl/gl_state.h | |
| parent | cc19a766563f718fd62548dbb9166919cff1a8c3 (diff) | |
| parent | b044c047c48469be479ba2633ae14eff8643041e (diff) | |
Merge pull request #1104 from yuriks/opengl-samplers
OpenGL: Use Sampler Objects to decouple sampler config from textures
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 43aa29a81..6ecbedbb4 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -57,6 +57,7 @@ public: // 3 texture units - one for each that is used in PICA fragment shader emulation struct { GLuint texture_2d; // GL_TEXTURE_BINDING_2D + GLuint sampler; // GL_SAMPLER_BINDING } texture_units[3]; struct { @@ -77,6 +78,7 @@ public: void Apply(); static void ResetTexture(GLuint id); + static void ResetSampler(GLuint id); static void ResetProgram(GLuint id); static void ResetBuffer(GLuint id); static void ResetVertexArray(GLuint id); |
