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_elt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/tnl/t_imm_elt.c') diff --git a/src/mesa/tnl/t_imm_elt.c b/src/mesa/tnl/t_imm_elt.c index c7cb0b0a7f4..f0c470de921 100644 --- a/src/mesa/tnl/t_imm_elt.c +++ b/src/mesa/tnl/t_imm_elt.c @@ -1,4 +1,4 @@ -/* $Id: t_imm_elt.c,v 1.17 2002/06/13 04:49:17 brianp Exp $ */ +/* $Id: t_imm_elt.c,v 1.18 2002/06/15 02:38:18 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -758,8 +758,8 @@ void _tnl_translate_array_elts( GLcontext *ctx, struct immediate *IM, GLuint translate = ctx->Array._Enabled; GLuint i; - if (MESA_VERBOSE&VERBOSE_IMMEDIATE) - _mesa_debug("exec_array_elements %d .. %d\n", start, count); + if (MESA_VERBOSE & VERBOSE_IMMEDIATE) + _mesa_debug(ctx, "exec_array_elements %d .. %d\n", start, count); if (translate & VERT_BIT_POS) { _tnl_trans_elt_4f( IM->Attrib[VERT_ATTRIB_POS], -- cgit v1.2.3