From 4753d60dd070bb08d0116076bcc08025c86ce857 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 15 Jun 2002 02:38:15 +0000 Subject: Added ctx parameter to _mesa_debug() Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes. --- src/mesa/tnl/t_imm_dlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/tnl/t_imm_dlist.c') diff --git a/src/mesa/tnl/t_imm_dlist.c b/src/mesa/tnl/t_imm_dlist.c index b269c7597ca..66285b4d19a 100644 --- a/src/mesa/tnl/t_imm_dlist.c +++ b/src/mesa/tnl/t_imm_dlist.c @@ -1,4 +1,4 @@ -/* $Id: t_imm_dlist.c,v 1.41 2002/06/13 04:49:17 brianp Exp $ */ +/* $Id: t_imm_dlist.c,v 1.42 2002/06/15 02:38:18 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -129,7 +129,7 @@ _tnl_compile_cassette( GLcontext *ctx, struct immediate *IM ) GLuint new_beginstate; if (MESA_VERBOSE & VERBOSE_DISPLAY_LIST) - _mesa_debug("_tnl_compiled_cassette IM: %d\n", IM->id); + _mesa_debug(ctx, "_tnl_compiled_cassette IM: %d\n", IM->id); if (IM->FlushElt) { ASSERT (IM->FlushElt == FLUSH_ELT_LAZY); @@ -317,7 +317,7 @@ execute_compiled_cassette( GLcontext *ctx, void *data ) _tnl_print_cassette( IM ); if (MESA_VERBOSE & VERBOSE_DISPLAY_LIST) { - _mesa_debug("Run cassette %d, rows %d..%d, beginstate %x ", + _mesa_debug(ctx, "Run cassette %d, rows %d..%d, beginstate %x ", IM->id, IM->Start, IM->Count, IM->BeginState); _tnl_print_vert_flags("orflag", IM->OrFlag); } @@ -400,7 +400,7 @@ print_compiled_cassette( GLcontext *ctx, void *data ) TNLvertexcassette *node = (TNLvertexcassette *)data; struct immediate *IM = node->IM; - _mesa_debug("TNL-VERTEX-CASSETTE, id %u, rows %u..%u\n", + _mesa_debug(ctx, "TNL-VERTEX-CASSETTE, id %u, rows %u..%u\n", node->IM->id, node->Start, node->Count); IM->Start = node->Start; -- cgit v1.2.3