diff options
author | Brian Paul <brianp@vmware.com> | 2010-10-25 09:10:32 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-10-25 09:10:36 -0600 |
commit | f72e4b306bb26b067b46f2d7561aabeb6f3f4be0 (patch) | |
tree | 9ac92c5642f6a757403a98d694c6912bd82f63d1 /src/mesa/program | |
parent | 8449a4772a73f613d9425b691cffba6a261df813 (diff) |
mesa: silence enum comparison warning
http://bugs.freedesktop.org/show_bug.cgi?id=31069
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index cdcf4ec265..4cacde9aed 100644 --- 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; |