projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
786d539
)
progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.
author
Vinson Lee
<vlee@vmware.com>
Tue, 17 Nov 2009 19:37:48 +0000
(11:37 -0800)
committer
Vinson 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
patch
|
blob
|
history
diff --git
a/progs/glsl/bump.c
b/progs/glsl/bump.c
index 87669aec736078cbf38b1c7738d31478769373b0..50a0900f1c796d36a0c49fb738df68795b7b7b0d 100644
(file)
--- 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 GL
u
int tangentAttrib;
+static GLint tangentAttrib;
static GLboolean Anim = GL_FALSE;