diff options
author | Keith Whitwell <[email protected]> | 2009-06-30 12:16:41 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-06-30 12:16:41 +0100 |
commit | 0846c88ec3a63ac5e4096aedcdc107cbe71f306b (patch) | |
tree | c3c340f225423743e5913beca6d68dece1a05545 /src/mesa/vbo/vbo_save_api.c | |
parent | aa688d1579776494640475f4a5b93f3d7fae4fcd (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_api.c')
-rw-r--r-- | src/mesa/vbo/vbo_save_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 868226075ac..971a338af42 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -1148,7 +1148,7 @@ static void vbo_print_vertex_list( GLcontext *ctx, void *data ) struct _mesa_prim *prim = &node->prim[i]; _mesa_debug(NULL, " prim %d: %s%s %d..%d %s %s\n", i, - _mesa_lookup_enum_by_nr(prim->mode), + _mesa_lookup_prim_by_nr(prim->mode), prim->weak ? " (weak)" : "", prim->start, prim->start + prim->count, |