remove debug code
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 30 Oct 2006 00:07:22 +0000 (00:07 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 30 Oct 2006 00:07:22 +0000 (00:07 +0000)
src/mesa/main/texenvprogram.c

index 0b975e675f50b866d5bd0a04dbbd14919ad44c46..c99ff5cdc469bf4bc1820b8822ec17895f56ce52 100644 (file)
@@ -1095,13 +1095,6 @@ create_new_program(GLcontext *ctx, struct state_key *key,
    ASSERT(p.program->Base.NumInstructions <= MAX_INSTRUCTIONS);
 
    /* Allocate final instruction array */
-   {
-      static int max=0;
-      if (program->Base.NumInstructions> max) {
-         max = program->Base.NumInstructions;
-         printf("%d inst max\n", max);
-      }
-   }
    program->Base.Instructions
       = _mesa_alloc_instructions(program->Base.NumInstructions);
    if (!program->Base.Instructions) {