summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-04-20 08:21:49 -0600
committerBrian <[email protected]>2007-04-21 10:05:05 -0600
commitced6f76404ff1a6713c85edff17551f82c33cc24 (patch)
tree2768ad41352ec01efa98a0e9a8e44ba8f2691530 /src/mesa/swrast
parent4cc2674aee98a4c2972f4f097a89b7b4a30df4ab (diff)
undo a test/debug change
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c
index 1b5f20d42d6..882fec29efe 100644
--- a/src/mesa/swrast/s_fragprog.c
+++ b/src/mesa/swrast/s_fragprog.c
@@ -104,7 +104,7 @@ init_machine(GLcontext *ctx, struct gl_program_machine *machine,
if (ctx->FragmentProgram.CallbackEnabled)
inputsRead = ~0;
- if (1/*program->Base.Target == GL_FRAGMENT_PROGRAM_NV*/) {
+ if (program->Base.Target == GL_FRAGMENT_PROGRAM_NV) {
/* Clear temporary registers (undefined for ARB_f_p) */
_mesa_bzero(machine->Temporaries,
MAX_PROGRAM_TEMPS * 4 * sizeof(GLfloat));