diff options
author | Michal Krol <michal@vmware.com> | 2009-12-03 10:52:47 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2009-12-03 10:52:47 +0100 |
commit | 6df42d80234d13676fc3207cf44f0e371e3372b5 (patch) | |
tree | 7ab6d37b68aeae719167900f7daa7d9addf86a95 /src/gallium/state_trackers/egl/egl_surface.c | |
parent | 0bed834be4a174d20b31a6cbcf066774bf749929 (diff) | |
download | mesa-6df42d80234d13676fc3207cf44f0e371e3372b5.tar.gz |
Move pf_get_block() to u_format auxiliary module.
Diffstat (limited to 'src/gallium/state_trackers/egl/egl_surface.c')
-rw-r--r-- | src/gallium/state_trackers/egl/egl_surface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/egl_surface.c b/src/gallium/state_trackers/egl/egl_surface.c index ddd9b04cd48..35c8b106858 100644 --- a/src/gallium/state_trackers/egl/egl_surface.c +++ b/src/gallium/state_trackers/egl/egl_surface.c @@ -12,6 +12,7 @@ #include "state_tracker/drm_api.h" +#include "util/u_format.h" #include "util/u_rect.h" /* @@ -118,7 +119,7 @@ drm_create_texture(_EGLDisplay *dpy, templat.format = PIPE_FORMAT_A8R8G8B8_UNORM; templat.width0 = w; templat.height0 = h; - pf_get_block(templat.format, &templat.block); + util_format_get_block(templat.format, &templat.block); texture = screen->texture_create(dev->screen, &templat); |