summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save_loopback.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-06-30 12:16:41 +0100
committerKeith Whitwell <[email protected]>2009-06-30 12:16:41 +0100
commit0846c88ec3a63ac5e4096aedcdc107cbe71f306b (patch)
treec3c340f225423743e5913beca6d68dece1a05545 /src/mesa/vbo/vbo_save_loopback.c
parentaa688d1579776494640475f4a5b93f3d7fae4fcd (diff)
mesa/vbo: use _lookup_prim_by_nr for debugging
Switch over to specialized enum lookup for primitives
Diffstat (limited to 'src/mesa/vbo/vbo_save_loopback.c')
-rw-r--r--src/mesa/vbo/vbo_save_loopback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_loopback.c b/src/mesa/vbo/vbo_save_loopback.c
index 92ca4ea95d3..b7a74e4535a 100644
--- a/src/mesa/vbo/vbo_save_loopback.c
+++ b/src/mesa/vbo/vbo_save_loopback.c
@@ -97,7 +97,7 @@ static void loopback_prim( GLcontext *ctx,
if (0)
_mesa_printf("loopback prim %s(%s,%s) verts %d..%d\n",
- _mesa_lookup_enum_by_nr(prim->mode),
+ _mesa_lookup_prim_by_nr(prim->mode),
prim->begin ? "begin" : "..",
prim->end ? "end" : "..",
start,