draw: Use util_format_name().
This commit is contained in:
@@ -310,7 +310,7 @@ draw_arrays_instanced(struct draw_context *draw,
|
||||
debug_printf("Elements:\n");
|
||||
for (i = 0; i < draw->pt.nr_vertex_elements; i++) {
|
||||
debug_printf(" format=%s comps=%u\n",
|
||||
pf_name(draw->pt.vertex_element[i].src_format),
|
||||
util_format_name(draw->pt.vertex_element[i].src_format),
|
||||
draw->pt.vertex_element[i].nr_components);
|
||||
}
|
||||
debug_printf("Buffers:\n");
|
||||
|
Reference in New Issue
Block a user