rbug: rename pf_is_compressed to util_format_is_compressed
authorRoland Scheidegger <sroland@vmware.com>
Wed, 23 Dec 2009 15:55:16 +0000 (16:55 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 23 Dec 2009 15:57:46 +0000 (16:57 +0100)
progs/rbug/bin_to_bmp.c
progs/rbug/tex_dump.c

index 03ff622fee7a22c87112a719b52539303b684df5..49a5416787a6d7c1726281028467bc81931eeb22 100644 (file)
@@ -28,6 +28,7 @@
 #include "util/u_format.h"
 #include "util/u_memory.h"
 #include "util/u_debug.h"
+#include "util/u_format.h"
 #include "util/u_network.h"
 #include "util/u_tile.h"
 
@@ -73,7 +74,7 @@ static void dump(unsigned width, unsigned height,
 
    util_snprintf(filename, 512, "%s.bmp", pf_name(src_format));
 
-   if (pf_is_compressed(src_format)) {
+   if (util_format_is_compressed(src_format)) {
       debug_printf("skipping: %s\n", filename);
       return;
    }
index f9e06ee994aa030c82d6ba3db49fc8e7590eb406..963f8eeedea684bfa4ba8666e6fe0207c4e7412e 100644 (file)
@@ -27,6 +27,7 @@
 #include "pipe/p_state.h"
 #include "util/u_memory.h"
 #include "util/u_debug.h"
+#include "util/u_format.h"
 #include "util/u_network.h"
 #include "util/u_tile.h"
 #include "rbug/rbug.h"
@@ -49,7 +50,7 @@ static void dump(rbug_texture_t tex,
    util_snprintf(filename, 512, "%llu_%s_%u.bmp",
                  (unsigned long long)tex, pf_name(info->format), mip);
 
-   if (pf_is_compressed(info->format)) {
+   if (util_format_is_compressed(info->format)) {
       debug_printf("skipping: %s\n", filename);
       return;
    }