summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-25 17:45:50 -0600
committerBrian Paul <[email protected]>2009-08-25 17:46:11 -0600
commit42675ff0e3e2a0403a6e614b3c84287f2f412661 (patch)
tree314eb57c1746a23cdcb1d797cdaae05b5125279c /progs
parenta088e5631d21fa41e8218feead2933ab3d2ddba0 (diff)
progs/glsl: call ValidateShaderProgram()
Diffstat (limited to 'progs')
-rw-r--r--progs/glsl/multitex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/glsl/multitex.c b/progs/glsl/multitex.c
index 6ec9c833e67..bf46fd5210e 100644
--- 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