summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_fragprog.c
diff options
context:
space:
mode:
authorBrian <brian@nostromo.localnet.net>2007-02-25 18:26:50 -0700
committerBrian <brian@nostromo.localnet.net>2007-02-25 18:26:50 -0700
commit8b34b7da4131d2b07037ce062c522fddd614f127 (patch)
tree4b618dc29b26767008b68b1b1a33e0b0b29e1836 /src/mesa/swrast/s_fragprog.c
parent085d7d59f0e167bb546c4a1675e09631b14fc9f7 (diff)
remove 'maxInst' parameter from _mesa_execute_program()
Diffstat (limited to 'src/mesa/swrast/s_fragprog.c')
-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 f88714d5c7..4e1c829773 100644
--- a/src/mesa/swrast/s_fragprog.c
+++ b/src/mesa/swrast/s_fragprog.c
@@ -147,8 +147,7 @@ run_program(GLcontext *ctx, SWspan *span, GLuint start, GLuint end)
if (span->array->mask[i]) {
init_machine(ctx, &machine, program, span, i);
- if (_mesa_execute_program(ctx, &program->Base,
- program->Base.NumInstructions, &machine)) {
+ if (_mesa_execute_program(ctx, &program->Base, &machine)) {
/* Store result color */
COPY_4V(span->array->attribs[FRAG_ATTRIB_COL0][i],
machine.Outputs[FRAG_RESULT_COLR]);