From baca885cfce10acaa7a9892133aaa5b82c7183f7 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 2 Mar 2016 15:16:05 +0100 Subject: OPENGL: Let Shader store the uniform state. --- backends/graphics/opengl/pipelines/clut8.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'backends/graphics/opengl/pipelines/clut8.cpp') 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) { -- cgit v1.2.3