From 42675ff0e3e2a0403a6e614b3c84287f2f412661 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 25 Aug 2009 17:45:50 -0600 Subject: [PATCH] progs/glsl: call ValidateShaderProgram() --- progs/glsl/multitex.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2