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/xorg/xorg_renderer.c | |
parent | 0bed834be4a174d20b31a6cbcf066774bf749929 (diff) |
Move pf_get_block() to u_format auxiliary module.
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_renderer.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_renderer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_renderer.c b/src/gallium/state_trackers/xorg/xorg_renderer.c index f7773951004..7cac91e564f 100644 --- a/src/gallium/state_trackers/xorg/xorg_renderer.c +++ b/src/gallium/state_trackers/xorg/xorg_renderer.c @@ -5,6 +5,7 @@ #include "cso_cache/cso_context.h" #include "util/u_draw_quad.h" +#include "util/u_format.h" #include "util/u_math.h" #include "util/u_memory.h" #include "util/u_rect.h" @@ -512,7 +513,7 @@ renderer_clone_texture(struct xorg_renderer *r, templ.width0 = src->width0; templ.height0 = src->height0; templ.depth0 = 1; - pf_get_block(format, &templ.block); + util_format_get_block(format, &templ.block); templ.tex_usage = PIPE_TEXTURE_USAGE_SAMPLER; pt = screen->texture_create(screen, &templ); |