diff options
author | Michal Krol <[email protected]> | 2009-12-03 10:52:47 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-12-03 10:52:47 +0100 |
commit | 6df42d80234d13676fc3207cf44f0e371e3372b5 (patch) | |
tree | 7ab6d37b68aeae719167900f7daa7d9addf86a95 /src/gallium/state_trackers/vega/image.c | |
parent | 0bed834be4a174d20b31a6cbcf066774bf749929 (diff) |
Move pf_get_block() to u_format auxiliary module.
Diffstat (limited to 'src/gallium/state_trackers/vega/image.c')
-rw-r--r-- | src/gallium/state_trackers/vega/image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vega/image.c b/src/gallium/state_trackers/vega/image.c index 4684a5727dd..24ca911f792 100644 --- a/src/gallium/state_trackers/vega/image.c +++ b/src/gallium/state_trackers/vega/image.c @@ -39,6 +39,7 @@ #include "pipe/p_screen.h" #include "pipe/p_inlines.h" #include "util/u_blit.h" +#include "util/u_format.h" #include "util/u_tile.h" #include "util/u_memory.h" #include "util/u_math.h" @@ -270,7 +271,7 @@ struct vg_image * image_create(VGImageFormat format, memset(&pt, 0, sizeof(pt)); pt.target = PIPE_TEXTURE_2D; pt.format = pformat; - pf_get_block(pformat, &pt.block); + util_format_get_block(pformat, &pt.block); pt.last_level = 0; pt.width0 = width; pt.height0 = height; |