diff options
author | Johannes Schickel | 2016-03-02 15:16:05 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-16 20:29:31 +0100 |
commit | baca885cfce10acaa7a9892133aaa5b82c7183f7 (patch) | |
tree | 8f1c0d94fac540185c385dac292615f7d82cfe51 /backends/graphics/opengl/pipelines/clut8.cpp | |
parent | 6dacc96d1f6ed804197382c59765c8cec5146c62 (diff) | |
download | scummvm-rg350-baca885cfce10acaa7a9892133aaa5b82c7183f7.tar.gz scummvm-rg350-baca885cfce10acaa7a9892133aaa5b82c7183f7.tar.bz2 scummvm-rg350-baca885cfce10acaa7a9892133aaa5b82c7183f7.zip |
OPENGL: Let Shader store the uniform state.
Diffstat (limited to 'backends/graphics/opengl/pipelines/clut8.cpp')
-rw-r--r-- | backends/graphics/opengl/pipelines/clut8.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/graphics/opengl/pipelines/clut8.cpp b/backends/graphics/opengl/pipelines/clut8.cpp index 9f2aa94b90..fca40074f0 100644 --- a/backends/graphics/opengl/pipelines/clut8.cpp +++ b/backends/graphics/opengl/pipelines/clut8.cpp @@ -32,8 +32,6 @@ CLUT8LookUpPipeline::CLUT8LookUpPipeline() } void CLUT8LookUpPipeline::drawTexture(const GLTexture &texture, const GLfloat *coordinates) { - _activeShader->setUniformI(_activeShader->getUniformLocation("palette"), 1); - // Set the palette texture. GL_CALL(glActiveTexture(GL_TEXTURE1)); if (_paletteTexture) { |