mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
mesa: Make VBO dlist printing use the same path as other dlist printing.
I was rather confused when mesa_print_display_list didn't show any of my glBegin()..glEnd(). Nothing but print_list appears to call this function, so matching its behavior seems like a good idea.
This commit is contained in:
parent
cca30245bd
commit
396b4043f0
1 changed files with 12 additions and 12 deletions
|
|
@ -1139,21 +1139,21 @@ static void vbo_print_vertex_list( GLcontext *ctx, void *data )
|
|||
GLuint i;
|
||||
(void) ctx;
|
||||
|
||||
_mesa_debug(NULL, "VBO-VERTEX-LIST, %u vertices %d primitives, %d vertsize\n",
|
||||
node->count,
|
||||
node->prim_count,
|
||||
node->vertex_size);
|
||||
_mesa_printf("VBO-VERTEX-LIST, %u vertices %d primitives, %d vertsize\n",
|
||||
node->count,
|
||||
node->prim_count,
|
||||
node->vertex_size);
|
||||
|
||||
for (i = 0 ; i < node->prim_count ; i++) {
|
||||
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),
|
||||
prim->weak ? " (weak)" : "",
|
||||
prim->start,
|
||||
prim->start + prim->count,
|
||||
(prim->begin) ? "BEGIN" : "(wrap)",
|
||||
(prim->end) ? "END" : "(wrap)");
|
||||
_mesa_printf(" prim %d: %s%s %d..%d %s %s\n",
|
||||
i,
|
||||
_mesa_lookup_enum_by_nr(prim->mode),
|
||||
prim->weak ? " (weak)" : "",
|
||||
prim->start,
|
||||
prim->start + prim->count,
|
||||
(prim->begin) ? "BEGIN" : "(wrap)",
|
||||
(prim->end) ? "END" : "(wrap)");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue