From 0781339b395a9b2a89ff800eb827ed733f34a8a1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 30 Oct 2006 00:07:22 +0000 Subject: remove debug code --- src/mesa/main/texenvprogram.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 0b975e675f..c99ff5cdc4 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -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) { -- cgit v1.2.3