diff options
author | Tapani Pälli <[email protected]> | 2015-12-11 10:45:28 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-12-14 08:01:49 +0200 |
commit | 8b79258cfe11917b2f78b51fc24e6c583e6a0d74 (patch) | |
tree | 0a1d5164e05b2fca1b9b7827bf86ac4987e3faa8 /src/mesa/drivers/common/meta.h | |
parent | eca8f38dcffb700fdfe413a707d524e6a84bd453 (diff) |
meta: clear_state structure cleanup
Remove unused variables from clear_state and use a hardcoded location
for color uniform to get rid of 2 more variables. Modify shaders to use
explicit location for vertex attribute too as extension is enabled.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.h')
-rw-r--r-- | src/mesa/drivers/common/meta.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/common/meta.h b/src/mesa/drivers/common/meta.h index 21495eecd27..5b04755a63e 100644 --- a/src/mesa/drivers/common/meta.h +++ b/src/mesa/drivers/common/meta.h @@ -322,12 +322,7 @@ struct clear_state GLuint VAO; struct gl_buffer_object *buf_obj; GLuint ShaderProg; - GLint ColorLocation; - GLint LayerLocation; - GLuint IntegerShaderProg; - GLint IntegerColorLocation; - GLint IntegerLayerLocation; }; |