projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe42b6
)
mesa: include uniforms.h to silence warning, remove unused var
author
Brian Paul
<brianp@vmware.com>
Thu, 12 Jan 2012 01:19:09 +0000
(18:19 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 12 Jan 2012 01:22:17 +0000
(18:22 -0700)
src/mesa/main/shaderapi.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderapi.c
b/src/mesa/main/shaderapi.c
index 5bfe217ae863fa30fe0d69f57165b83b165e84cf..8b68ebf9c878a09d284427596a6320f33fd9fdc3 100644
(file)
--- 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;
}