From: Brian Paul Date: Sat, 15 Jun 2002 02:54:01 +0000 (+0000) Subject: added missing ctx parameter to _mesa_debug() calls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d47f3d6b8e8054602a637fad70d4769427df8b4;p=mesa.git added missing ctx parameter to _mesa_debug() calls --- diff --git a/src/mesa/main/feedback.c b/src/mesa/main/feedback.c index 94ed866fdc2..aead5bc65c5 100644 --- a/src/mesa/main/feedback.c +++ b/src/mesa/main/feedback.c @@ -1,4 +1,4 @@ -/* $Id: feedback.c,v 1.25 2002/06/13 04:28:29 brianp Exp $ */ +/* $Id: feedback.c,v 1.26 2002/06/15 02:54:01 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -340,7 +340,7 @@ _mesa_RenderMode( GLenum mode ) ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, 0); if (MESA_VERBOSE & VERBOSE_API) - _mesa_debug("glRenderMode %s\n", _mesa_lookup_enum_by_nr(mode)); + _mesa_debug(ctx, "glRenderMode %s\n", _mesa_lookup_enum_by_nr(mode)); FLUSH_VERTICES(ctx, _NEW_RENDERMODE); diff --git a/src/mesa/main/hint.c b/src/mesa/main/hint.c index 44da4ab5008..57d7eae1fd7 100644 --- a/src/mesa/main/hint.c +++ b/src/mesa/main/hint.c @@ -1,4 +1,4 @@ -/* $Id: hint.c,v 1.12 2002/06/15 02:38:15 brianp Exp $ */ +/* $Id: hint.c,v 1.13 2002/06/15 02:54:02 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -44,7 +44,8 @@ _mesa_Hint( GLenum target, GLenum mode ) ASSERT_OUTSIDE_BEGIN_END(ctx); if (MESA_VERBOSE & VERBOSE_API) - _mesa_debug("glHint %s %d\n", _mesa_lookup_enum_by_nr(target), mode); + _mesa_debug(ctx, "glHint %s %d\n", + _mesa_lookup_enum_by_nr(target), mode); if (mode != GL_NICEST && mode != GL_FASTEST && mode != GL_DONT_CARE) { _mesa_error(ctx, GL_INVALID_ENUM, "glHint(mode)");