diff options
author | Brian Paul <[email protected]> | 2002-06-15 02:54:01 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-06-15 02:54:01 +0000 |
commit | 9d47f3d6b8e8054602a637fad70d4769427df8b4 (patch) | |
tree | 4d367d378d271801f9fa05918e8d592d8d565135 | |
parent | 4753d60dd070bb08d0116076bcc08025c86ce857 (diff) |
added missing ctx parameter to _mesa_debug() calls
-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 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)"); |