From: Brian Paul Date: Tue, 25 Aug 2009 23:45:50 +0000 (-0600) Subject: progs/glsl: call ValidateShaderProgram() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42675ff0e3e2a0403a6e614b3c84287f2f412661;p=mesa.git progs/glsl: call ValidateShaderProgram() --- 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