diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/feedback.c | 4 | ||||
-rw-r--r-- | src/mesa/main/hint.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/main/feedback.c b/src/mesa/main/feedback.c index 94ed866fdc..aead5bc65c 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 44da4ab500..57d7eae1fd 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)"); |