Преглед изворни кода

rbug: rename pf_is_compressed to util_format_is_compressed

tags/7.8-rc1
Roland Scheidegger пре 15 година
родитељ
комит
faae0e5da3
2 измењених фајлова са 4 додато и 2 уклоњено
  1. 2
    1
      progs/rbug/bin_to_bmp.c
  2. 2
    1
      progs/rbug/tex_dump.c

+ 2
- 1
progs/rbug/bin_to_bmp.c Прегледај датотеку

@@ -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;
}

+ 2
- 1
progs/rbug/tex_dump.c Прегледај датотеку

@@ -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;
}

Loading…
Откажи
Сачувај