mesa: Use util_format_name().
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 13:24:43 +0000 (13:24 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 13:24:43 +0000 (13:24 +0000)
src/mesa/state_tracker/st_draw.c
src/mesa/state_tracker/st_format.c

index 34df4d48dd485be340c69b8d316ed92f10ee329b..f72f564cd2c2b83348244c30686712113ab32c5a 100644 (file)
@@ -596,7 +596,7 @@ st_draw_vbo(GLcontext *ctx,
          printf("vlements[%d].vbuffer_index = %u\n", i, velements[i].vertex_buffer_index);
          printf("vlements[%d].src_offset = %u\n", i, velements[i].src_offset);
          printf("vlements[%d].nr_comps = %u\n", i, velements[i].nr_components);
-         printf("vlements[%d].format = %s\n", i, pf_name(velements[i].src_format));
+         printf("vlements[%d].format = %s\n", i, util_format_name(velements[i].src_format));
       }
    }
 #endif
index 3ffc2aee2a2b8d011abc08338531a211b7c56b29..851c16f83ccb8b5145c015ad94baa1156a1f9ba8 100644 (file)
@@ -85,7 +85,7 @@ st_get_format_info(enum pipe_format format, struct pipe_format_info *pinfo)
    if (desc->layout == UTIL_FORMAT_LAYOUT_ARITH ||
        desc->layout == UTIL_FORMAT_LAYOUT_ARRAY) {
 #if 0
-      printf("%s\n", pf_name( format ) );
+      printf("%s\n", util_format_name( format ) );
 #endif
 
       /* Data type */