Browse Source

progs/glsl: call ValidateShaderProgram()

tags/mesa_7_6_rc1
Brian Paul 16 years ago
parent
commit
42675ff0e3
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      progs/glsl/multitex.c

+ 2
- 0
progs/glsl/multitex.c View File

@@ -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

Loading…
Cancel
Save