mesa: fix build error

Fix build error cased by 6a524c76f5.
This commit is contained in:
Timothy Arceri 2016-07-05 18:40:30 +10:00
parent 6a524c76f5
commit 30812e90d1
1 changed files with 1 additions and 1 deletions

View File

@ -1071,7 +1071,7 @@ _mesa_sampler_uniforms_pipeline_are_valid(struct gl_pipeline_object *pipeline)
GLbitfield mask;
GLbitfield TexturesUsed[MAX_COMBINED_TEXTURE_IMAGE_UNITS];
struct gl_shader *shader;
struct gl_linked_shader *shader;
unsigned active_samplers = 0;
const struct gl_shader_program **shProg =
(const struct gl_shader_program **) pipeline->CurrentProgram;