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>
Fri, 4 Dec 2009 06:51:43 +0000 (22:51 -0800)
tangentAtrrib is assigned the result of glGetAttribLocation.
The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if
tangentAttrib is a GLuint.
(cherry picked from commit b8dcb79c53796f37234bd2b0f5e2845f817fc218)

progs/glsl/bump.c

index 87669aec736078cbf38b1c7738d31478769373b0..50a0900f1c796d36a0c49fb738df68795b7b7b0d 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;