From: Brian Paul Date: Mon, 1 Dec 2014 20:41:47 +0000 (-0700) Subject: vbo: also print buffer object pointer in vbo_print_vertex_list() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=691170b9c7387b0e147aa668c3c37148db7f3e96;p=mesa.git vbo: also print buffer object pointer in vbo_print_vertex_list() Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 4a6c436ac89..5055c221b6e 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -1527,10 +1527,14 @@ vbo_print_vertex_list(struct gl_context *ctx, void *data, FILE *f) { struct vbo_save_vertex_list *node = (struct vbo_save_vertex_list *) data; GLuint i; + struct gl_buffer_object *buffer = node->vertex_store ? + node->vertex_store->bufferobj : NULL; (void) ctx; - fprintf(f, "VBO-VERTEX-LIST, %u vertices %d primitives, %d vertsize\n", - node->count, node->prim_count, node->vertex_size); + fprintf(f, "VBO-VERTEX-LIST, %u vertices %d primitives, %d vertsize " + "buffer %p\n", + node->count, node->prim_count, node->vertex_size, + buffer); for (i = 0; i < node->prim_count; i++) { struct _mesa_prim *prim = &node->prim[i];