diff options
author | Vinson Lee <vlee@vmware.com> | 2009-11-17 11:37:48 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-11-17 11:37:48 -0800 |
commit | b8dcb79c53796f37234bd2b0f5e2845f817fc218 (patch) | |
tree | b9fe6902ba1d648d9cbbbd492735d30c09ed768e /progs/glsl | |
parent | 786d539511eb3c5a4101b11b7f8e90d60123ac46 (diff) | |
download | external_mesa3d-b8dcb79c53796f37234bd2b0f5e2845f817fc218.zip external_mesa3d-b8dcb79c53796f37234bd2b0f5e2845f817fc218.tar.gz external_mesa3d-b8dcb79c53796f37234bd2b0f5e2845f817fc218.tar.bz2 |
progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.
tangentAtrrib is assigned the result of glGetAttribLocation.
The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if
tangentAttrib is a GLuint.
Diffstat (limited to 'progs/glsl')
-rw-r--r-- | progs/glsl/bump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/glsl/bump.c b/progs/glsl/bump.c index 87669ae..50a0900 100644 --- a/progs/glsl/bump.c +++ b/progs/glsl/bump.c @@ -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; |