summaryrefslogtreecommitdiffstats
path: root/progs/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'progs/glsl')
-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