projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8449a47
)
mesa: silence enum comparison warning
author
Brian Paul
<brianp@vmware.com>
Mon, 25 Oct 2010 15:10:32 +0000
(09:10 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 25 Oct 2010 15:10:36 +0000
(09:10 -0600)
http://bugs.freedesktop.org/show_bug.cgi?id=31069
src/mesa/program/program.c
patch
|
blob
|
history
diff --git
a/src/mesa/program/program.c
b/src/mesa/program/program.c
index cdcf4ec265226efdba225e6cf6770c0d13080e81..4cacde9aed14a7815cdcc01b3fabc10b357d91fe 100644
(file)
--- a/
src/mesa/program/program.c
+++ b/
src/mesa/program/program.c
@@
-796,7
+796,7
@@
_mesa_combine_programs(struct gl_context *ctx,
if (p->Type == PROGRAM_STATE_VAR &&
p->StateIndexes[0] == STATE_INTERNAL &&
p->StateIndexes[1] == STATE_CURRENT_ATTRIB &&
-
p->StateIndexes[2] ==
VERT_ATTRIB_COLOR0) {
+
(int) p->StateIndexes[2] == (int)
VERT_ATTRIB_COLOR0) {
progB_inputsRead |= FRAG_BIT_COL0;
progB_colorFile = PROGRAM_STATE_VAR;
progB_colorIndex = i;