Module: Mesa
Branch: master
Commit: fe1b38960b44135f6557a1e7a9fb5adc66d0edbb
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe1b38960b44135f6557a1e7a9fb5adc66d0edbb

Author: Brian Paul <bri...@vmware.com>
Date:   Wed Jan 11 18:19:09 2012 -0700

mesa: include uniforms.h to silence warning, remove unused var

---

 src/mesa/main/shaderapi.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 5bfe217..8b68ebf 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;
    }

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to