projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a088e56
)
progs/glsl: call ValidateShaderProgram()
author
Brian Paul
<brianp@vmware.com>
Tue, 25 Aug 2009 23:45:50 +0000
(17:45 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 25 Aug 2009 23:46:11 +0000
(17:46 -0600)
progs/glsl/multitex.c
patch
|
blob
|
history
diff --git
a/progs/glsl/multitex.c
b/progs/glsl/multitex.c
index 6ec9c833e67479ede193445faabd3b040a3a9046..bf46fd5210e2de044b6bcc64d51805514374974c 100644
(file)
--- a/
progs/glsl/multitex.c
+++ b/
progs/glsl/multitex.c
@@
-331,6
+331,8
@@
CreateProgram(const char *vertProgFile, const char *fragProgFile,
SetUniformValues(program, uniforms);
PrintUniforms(Uniforms);
+ assert(ValidateShaderProgram(program));
+
VertCoord_attr = glGetAttribLocation(program, "VertCoord");
if (VertCoord_attr > 0) {
/* We want the VertCoord attrib to have position zero so that