From b65bc4f87b356cf6228151cd2f341432e80dc6b8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 25 Nov 2003 15:58:22 +0000 Subject: Remove unnecessary usage of __FUNCTION__. #define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined. --- src/mesa/tnl/t_save_playback.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/t_save_playback.c') diff --git a/src/mesa/tnl/t_save_playback.c b/src/mesa/tnl/t_save_playback.c index e30735af068..4669e4b32c9 100644 --- a/src/mesa/tnl/t_save_playback.c +++ b/src/mesa/tnl/t_save_playback.c @@ -1,4 +1,3 @@ - /* * Mesa 3-D graphics library * Version: 5.1 @@ -188,7 +187,8 @@ void _tnl_playback_vertex_list( GLcontext *ctx, void *data ) /* Degenerate case: list references current data and would * require fixup. Take the easier option & loop it back. */ - _mesa_debug( 0, "%s: loopback dangling attr ref\n", __FUNCTION__); + _mesa_debug(ctx, + "tnl_playback_vertex_list: loopback dangling attr ref\n"); _tnl_loopback_vertex_list( ctx, data ); return; } -- cgit v1.2.3