Mesa (master): draw: Use util_format_name().

Jose Fonseca jrfonseca at kemper.freedesktop.org
Sun Feb 14 13:29:31 UTC 2010


Module: Mesa
Branch: master
Commit: 13701aae40d8edb5b38be5fb04739f74c1fc8001
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=13701aae40d8edb5b38be5fb04739f74c1fc8001

Author: José Fonseca <jfonseca at vmware.com>
Date:   Sun Feb 14 13:27:00 2010 +0000

draw: Use util_format_name().

---

 src/gallium/auxiliary/draw/draw_pt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index f5ed32d..341353f 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -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");




More information about the mesa-commit mailing list