diff options
author | Johannes Schickel | 2016-03-04 00:14:22 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-16 20:29:31 +0100 |
commit | 39100b613272523c2e36be213cc827857a08f824 (patch) | |
tree | 975c372986e91cd3f5f35b506e674466eb321fb6 /backends/graphics/opengl/pipelines/shader.h | |
parent | baca885cfce10acaa7a9892133aaa5b82c7183f7 (diff) | |
download | scummvm-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.h | 4 |
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 |