summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_fragprog.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-03-11 20:08:37 -0600
committerBrian Paul <brianp@vmware.com>2009-03-11 20:08:37 -0600
commit548be3846db59ad43934a159c051b359db6e56db (patch)
treed9e41327ace4332dd191b92a39617117e2ef8ca4 /src/mesa/swrast/s_fragprog.c
parent4dfa3757c58255c3ad8c3fe343541d2aa677f44c (diff)
mesa: remove some last remnants of GL_MESA_program_debug
Diffstat (limited to 'src/mesa/swrast/s_fragprog.c')
-rw-r--r--src/mesa/swrast/s_fragprog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c
index 3735f041d6..ae1dea16a0 100644
--- a/src/mesa/swrast/s_fragprog.c
+++ b/src/mesa/swrast/s_fragprog.c
@@ -255,8 +255,6 @@ _swrast_exec_fragment_program( GLcontext *ctx, SWspan *span )
ASSERT(span->array->ChanType == GL_FLOAT);
}
- ctx->_CurrentProgram = GL_FRAGMENT_PROGRAM_ARB; /* or NV, doesn't matter */
-
run_program(ctx, span, 0, span->end);
if (program->Base.OutputsWritten & (1 << FRAG_RESULT_COLOR)) {
@@ -268,7 +266,5 @@ _swrast_exec_fragment_program( GLcontext *ctx, SWspan *span )
span->interpMask &= ~SPAN_Z;
span->arrayMask |= SPAN_Z;
}
-
- ctx->_CurrentProgram = 0;
}