projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f42c861
)
st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM
author
Brian Paul
<brianp@vmware.com>
Sun, 27 Dec 2009 17:09:24 +0000
(10:09 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sun, 27 Dec 2009 17:09:24 +0000
(10:09 -0700)
src/mesa/state_tracker/st_format.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index 02f80057c29faa7bf205e67255e7ae34c889484b..091f68190e591f605c0b49b0c1d1dd15a68f124a 100644
(file)
--- a/
src/mesa/state_tracker/st_format.c
+++ b/
src/mesa/state_tracker/st_format.c
@@
-291,6
+291,8
@@
st_pipe_format_to_mesa_format(enum pipe_format pipeFormat)
return MESA_FORMAT_ARGB8888;
case PIPE_FORMAT_X8R8G8B8_UNORM:
return MESA_FORMAT_XRGB8888;
+ case PIPE_FORMAT_B8G8R8A8_UNORM:
+ return MESA_FORMAT_ARGB8888_REV;
case PIPE_FORMAT_A1R5G5B5_UNORM:
return MESA_FORMAT_ARGB1555;
case PIPE_FORMAT_A4R4G4B4_UNORM: