From: Brian Paul Date: Thu, 12 Jan 2012 01:19:09 +0000 (-0700) Subject: mesa: include uniforms.h to silence warning, remove unused var X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe1b38960b44135f6557a1e7a9fb5adc66d0edbb;p=mesa.git mesa: include uniforms.h to silence warning, remove unused var --- 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; }