projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec6ad7b
)
mesa: silence warning
author
Brian Paul
<brianp@vmware.com>
Wed, 17 Jun 2009 13:43:44 +0000
(07:43 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 17 Jun 2009 15:58:29 +0000
(09:58 -0600)
src/mesa/shader/program.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/program.c
b/src/mesa/shader/program.c
index b56308b029707dab981b9bd22440626dd12edff8..4623ff60de6b5c5a7fe64f11ec44a314b8fa9cbb 100644
(file)
--- a/
src/mesa/shader/program.c
+++ b/
src/mesa/shader/program.c
@@
-837,6
+837,8
@@
_mesa_postprocess_program(GLcontext *ctx, struct gl_program *prog)
GLint whiteIndex = _mesa_add_unnamed_constant(prog->Parameters,
white, 4, &whiteSwizzle);
+ (void) whiteIndex;
+
for (i = 0; i < prog->NumInstructions; i++) {
struct prog_instruction *inst = prog->Instructions + i;
const GLuint n = _mesa_num_inst_src_regs(inst->Opcode);