undo a test/debug change
authorBrian <brian@yutani.localnet.net>
Fri, 20 Apr 2007 14:21:49 +0000 (08:21 -0600)
committerBrian <brian@yutani.localnet.net>
Sat, 21 Apr 2007 16:05:05 +0000 (10:05 -0600)
src/mesa/swrast/s_fragprog.c

index 1b5f20d42d602476fe2cfb545b9923dd025e82e4..882fec29efe5a076fed62e561b617303afe9043b 100644 (file)
@@ -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));