diff options
author | Thomas Hellstrom <[email protected]> | 2011-06-21 00:10:16 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2011-06-21 00:11:20 +0200 |
commit | 5f20fae40d3034de4dc8fdb3678000f7b17c6d75 (patch) | |
tree | e7375cedd802b697ae7b9414fcedf23de9ca7608 /src/gallium/state_trackers/xa/xa_tracker.c | |
parent | 642951fbcaa56a975422f7caddf6620f20d47721 (diff) |
st/xa: Really support xa_surface_format. Bump minor.
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xa/xa_tracker.c')
-rw-r--r-- | src/gallium/state_trackers/xa/xa_tracker.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xa/xa_tracker.c b/src/gallium/state_trackers/xa/xa_tracker.c index 12ee29c4647..8d58e5a6f13 100644 --- a/src/gallium/state_trackers/xa/xa_tracker.c +++ b/src/gallium/state_trackers/xa/xa_tracker.c @@ -418,3 +418,9 @@ xa_surface_handle(struct xa_surface *srf, return XA_ERR_NONE; } + +enum xa_formats +xa_surface_format(const struct xa_surface *srf) +{ + return srf->fdesc.format; +} |