draw: Use util_format_name().
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 13:27:00 +0000 (13:27 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 13:27:00 +0000 (13:27 +0000)
src/gallium/auxiliary/draw/draw_pt.c

index f5ed32d0b0574ff63e0f41bad7bd94cd1938cd60..341353f6289002030ecdda2a78e859f42423cb66 100644 (file)
@@ -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");