summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/hint.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-02-08 19:19:34 -0700
committerBrian Paul <[email protected]>2011-02-08 19:20:43 -0700
commit2634e92dc0cecc364984bef9169a91bb96bafdcd (patch)
tree8cdde7fb281f1233a2b88bb7075f322faa374054 /src/mesa/main/hint.c
parent7230e1a22822ce91f2d2555da53404f195fa9aaf (diff)
mesa: add/update VERBOSE_API logging
Diffstat (limited to 'src/mesa/main/hint.c')
-rw-r--r--src/mesa/main/hint.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/hint.c b/src/mesa/main/hint.c
index bdbd7519d37..ff8d88fffe0 100644
--- a/src/mesa/main/hint.c
+++ b/src/mesa/main/hint.c
@@ -40,8 +40,9 @@ _mesa_Hint( GLenum target, GLenum mode )
ASSERT_OUTSIDE_BEGIN_END(ctx);
if (MESA_VERBOSE & VERBOSE_API)
- _mesa_debug(ctx, "glHint %s %d\n",
- _mesa_lookup_enum_by_nr(target), mode);
+ _mesa_debug(ctx, "glHint %s %s\n",
+ _mesa_lookup_enum_by_nr(target),
+ _mesa_lookup_enum_by_nr(mode));
if (mode != GL_NICEST && mode != GL_FASTEST && mode != GL_DONT_CARE) {
_mesa_error(ctx, GL_INVALID_ENUM, "glHint(mode)");