mesa: fix build error
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 5 Jul 2016 08:40:30 +0000 (18:40 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 5 Jul 2016 08:42:06 +0000 (18:42 +1000)
Fix build error cased by 6a524c76f5.

src/mesa/main/uniform_query.cpp

index ebe5225..58ee408 100644 (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;