aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/pipelines/shader.h
diff options
context:
space:
mode:
authorJohannes Schickel2016-03-04 00:14:22 +0100
committerJohannes Schickel2016-03-16 20:29:31 +0100
commit39100b613272523c2e36be213cc827857a08f824 (patch)
tree975c372986e91cd3f5f35b506e674466eb321fb6 /backends/graphics/opengl/pipelines/shader.h
parentbaca885cfce10acaa7a9892133aaa5b82c7183f7 (diff)
downloadscummvm-rg350-39100b613272523c2e36be213cc827857a08f824.tar.gz
scummvm-rg350-39100b613272523c2e36be213cc827857a08f824.tar.bz2
scummvm-rg350-39100b613272523c2e36be213cc827857a08f824.zip
OPENGL: Do not hardcode any uniform/attribute handling in Shader.
Diffstat (limited to 'backends/graphics/opengl/pipelines/shader.h')
-rw-r--r--backends/graphics/opengl/pipelines/shader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/graphics/opengl/pipelines/shader.h b/backends/graphics/opengl/pipelines/shader.h
index 8e82bd7a31..95167ee03f 100644
--- a/backends/graphics/opengl/pipelines/shader.h
+++ b/backends/graphics/opengl/pipelines/shader.h
@@ -44,6 +44,10 @@ protected:
virtual void activateInternal();
virtual void deactivateInternal();
+ GLint _vertexAttribLocation;
+ GLint _texCoordAttribLocation;
+ GLint _colorAttribLocation;
+
Shader *const _activeShader;
};
#endif // !USE_FORCED_GLES