progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.
authorVinson Lee <vlee@vmware.com>
Tue, 17 Nov 2009 19:37:48 +0000 (11:37 -0800)
committerVinson Lee <vlee@vmware.com>
Tue, 17 Nov 2009 19:37:48 +0000 (11:37 -0800)
tangentAtrrib is assigned the result of glGetAttribLocation.
The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if
tangentAttrib is a GLuint.

progs/glsl/bump.c

index 87669ae..50a0900 100644 (file)
@@ -36,7 +36,7 @@ static GLint win = 0;
 
 static GLfloat xRot = 20.0f, yRot = 0.0f, zRot = 0.0f;
 
-static GLuint tangentAttrib;
+static GLint tangentAttrib;
 
 static GLboolean Anim = GL_FALSE;