remove unused 'element' parameter from _mesa_execute_program()

This commit is contained in:
Brian
2007-02-25 18:23:37 -07:00
parent 12fd8faa5d
commit 085d7d59f0
4 changed files with 4 additions and 5 deletions

View File

@@ -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]);