mesa: include uniforms.h to silence warning, remove unused var
authorBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 01:19:09 +0000 (18:19 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 01:22:17 +0000 (18:22 -0700)
src/mesa/main/shaderapi.c

index 5bfe217ae863fa30fe0d69f57165b83b165e84cf..8b68ebf9c878a09d284427596a6320f33fd9fdc3 100644 (file)
@@ -45,6 +45,7 @@
 #include "main/mtypes.h"
 #include "main/shaderapi.h"
 #include "main/shaderobj.h"
+#include "main/uniforms.h"
 #include "program/program.h"
 #include "program/prog_parameter.h"
 #include "ralloc.h"
@@ -936,8 +937,6 @@ static GLboolean
 validate_shader_program(const struct gl_shader_program *shProg,
                         char *errMsg)
 {
-   unsigned i;
-
    if (!shProg->LinkStatus) {
       return GL_FALSE;
    }