summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-11 18:19:09 -0700
committerBrian Paul <[email protected]>2012-01-11 18:22:17 -0700
commitfe1b38960b44135f6557a1e7a9fb5adc66d0edbb (patch)
treec8f37e7a6dc6e74ca375eae16f654a4ca7f44108 /src/mesa
parent6fe42b603d0ec9e13a8b7d6c46c6d89da3a6a614 (diff)
mesa: include uniforms.h to silence warning, remove unused var
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/shaderapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 5bfe217ae86..8b68ebf9c87 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -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;
}