summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-10-30 00:07:22 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-10-30 00:07:22 +0000
commit0781339b395a9b2a89ff800eb827ed733f34a8a1 (patch)
tree5d355b3b0def6cb8136eea5154335733b42fcef1 /src/mesa
parente998c346471142db91a1bcb6c61551b8247b87e7 (diff)
remove debug code
Diffstat (limited to 'src/mesa')
-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 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) {