aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/pipelines/clut8.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2016-02-29 00:04:33 +0100
committerJohannes Schickel2016-03-16 20:29:31 +0100
commit3f9852eb202b55b93f6e3121ce473951bff033cd (patch)
tree81b0b954eddec39f4e6c6ce052126d53dfaee224 /backends/graphics/opengl/pipelines/clut8.cpp
parent26f106497a863b84c502d122b5ba749176b2c426 (diff)
downloadscummvm-rg350-3f9852eb202b55b93f6e3121ce473951bff033cd.tar.gz
scummvm-rg350-3f9852eb202b55b93f6e3121ce473951bff033cd.tar.bz2
scummvm-rg350-3f9852eb202b55b93f6e3121ce473951bff033cd.zip
OPENGL: Make shader pipelines use fixed shaders.
Diffstat (limited to 'backends/graphics/opengl/pipelines/clut8.cpp')
-rw-r--r--backends/graphics/opengl/pipelines/clut8.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/backends/graphics/opengl/pipelines/clut8.cpp b/backends/graphics/opengl/pipelines/clut8.cpp
index 69dd0a3e28..9f2aa94b90 100644
--- a/backends/graphics/opengl/pipelines/clut8.cpp
+++ b/backends/graphics/opengl/pipelines/clut8.cpp
@@ -28,12 +28,7 @@ namespace OpenGL {
#if !USE_FORCED_GLES
CLUT8LookUpPipeline::CLUT8LookUpPipeline()
- : _paletteTexture(nullptr) {
- ShaderPipeline::setShader(ShaderMan.query(ShaderManager::kCLUT8LookUp));
-}
-
-Shader *CLUT8LookUpPipeline::setShader(Shader *shader) {
- return ShaderPipeline::setShader(ShaderMan.query(ShaderManager::kCLUT8LookUp));
+ : ShaderPipeline(ShaderMan.query(ShaderManager::kCLUT8LookUp)), _paletteTexture(nullptr) {
}
void CLUT8LookUpPipeline::drawTexture(const GLTexture &texture, const GLfloat *coordinates) {