projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
496bf38
)
glsl: silence warning in linker.cpp
author
Brian Paul
<brianp@vmware.com>
Wed, 20 Jul 2011 03:10:25 +0000
(21:10 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 20 Jul 2011 03:10:25 +0000
(21:10 -0600)
src/glsl/linker.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/linker.cpp
b/src/glsl/linker.cpp
index 34b64837a46ef12a6d0c38e48bf917f3f967c44f..5ec08446d16308bbf489d7471a94b53a7f34a6e1 100644
(file)
--- a/
src/glsl/linker.cpp
+++ b/
src/glsl/linker.cpp
@@
-1343,7
+1343,7
@@
assign_attribute_or_color_locations(gl_shader_program *prog,
foreach_list(node, sh->ir) {
ir_variable *const var = ((ir_instruction *) node)->as_variable();
- if ((var == NULL) || (var->mode != direction))
+ if ((var == NULL) || (var->mode !=
(unsigned)
direction))
continue;
if (var->explicit_location) {