mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
added missing ctx parameter to _mesa_debug() calls
This commit is contained in:
parent
4753d60dd0
commit
9d47f3d6b8
2 changed files with 5 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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)");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue