summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-25 18:23:37 -0700
committerBrian <[email protected]>2007-02-25 18:23:37 -0700
commit085d7d59f0e167bb546c4a1675e09631b14fc9f7 (patch)
tree19dccc47e8a12a449319efc89f9afc6c5fd71645 /src/mesa/swrast
parent12fd8faa5dd10457b2360493e9a56ab12659f282 (diff)
remove unused 'element' parameter from _mesa_execute_program()
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_fragprog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c
index 4482006ba64..f88714d5c7b 100644
--- a/src/mesa/swrast/s_fragprog.c
+++ b/src/mesa/swrast/s_fragprog.c
@@ -148,8 +148,7 @@ run_program(GLcontext *ctx, SWspan *span, GLuint start, GLuint end)
init_machine(ctx, &machine, program, span, i);
if (_mesa_execute_program(ctx, &program->Base,
- program->Base.NumInstructions,
- &machine, i)) {
+ program->Base.NumInstructions, &machine)) {
/* Store result color */
COPY_4V(span->array->attribs[FRAG_ATTRIB_COL0][i],
machine.Outputs[FRAG_RESULT_COLR]);