diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 04:01:11 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 17:35:58 -0300 |
| commit | 9677db03da37a61248c2ced49a9a5e53c872cc63 (patch) | |
| tree | 2f8bce89547542b3e7f39e34f49ffc05b0bf5813 /src/video_core/renderer_opengl/gl_state.h | |
| parent | 1bc0da3dea5a8502e63f5c123151328ccb2ba8d6 (diff) | |
gl_state: Remove texture and sampler tracking
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 29126b80a..25dd56452 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -13,10 +13,7 @@ namespace OpenGL { class OpenGLState { public: - static constexpr std::size_t NumSamplers = 32 * 5; static constexpr std::size_t NumImages = 8 * 5; - std::array<GLuint, NumSamplers> textures = {}; - std::array<GLuint, NumSamplers> samplers = {}; std::array<GLuint, NumImages> images = {}; struct { @@ -41,14 +38,10 @@ public: void ApplyFramebufferState(); void ApplyShaderProgram(); void ApplyProgramPipeline(); - void ApplyTextures(); - void ApplySamplers(); void ApplyImages(); void ApplyRenderBuffer(); /// Resets any references to the given resource - OpenGLState& UnbindTexture(GLuint handle); - OpenGLState& ResetSampler(GLuint handle); OpenGLState& ResetProgram(GLuint handle); OpenGLState& ResetPipeline(GLuint handle); OpenGLState& ResetFramebuffer(GLuint handle); |
