summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texenvprogram.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-10-30 00:07:22 +0000
committerBrian Paul <[email protected]>2006-10-30 00:07:22 +0000
commit0781339b395a9b2a89ff800eb827ed733f34a8a1 (patch)
tree5d355b3b0def6cb8136eea5154335733b42fcef1 /src/mesa/main/texenvprogram.c
parente998c346471142db91a1bcb6c61551b8247b87e7 (diff)
remove debug code
Diffstat (limited to 'src/mesa/main/texenvprogram.c')
-rw-r--r--src/mesa/main/texenvprogram.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index 0b975e675f5..c99ff5cdc46 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) {