diff options
author | Brian Paul <brianp@vmware.com> | 2009-08-25 17:45:50 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-25 17:46:11 -0600 |
commit | 42675ff0e3e2a0403a6e614b3c84287f2f412661 (patch) | |
tree | 314eb57c1746a23cdcb1d797cdaae05b5125279c /progs/glsl | |
parent | a088e5631d21fa41e8218feead2933ab3d2ddba0 (diff) |
progs/glsl: call ValidateShaderProgram()
Diffstat (limited to 'progs/glsl')
-rw-r--r-- | progs/glsl/multitex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/glsl/multitex.c b/progs/glsl/multitex.c index 6ec9c833e6..bf46fd5210 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 |