remove debug code

This commit is contained in:
Brian Paul
2006-10-30 00:07:22 +00:00
parent e998c34647
commit 0781339b39

View 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) {