From ced6f76404ff1a6713c85edff17551f82c33cc24 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 20 Apr 2007 08:21:49 -0600 Subject: [PATCH] undo a test/debug change --- src/mesa/swrast/s_fragprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2