projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7233d44
)
mesa/st: Fix PIPE_FORMAT_R8G8B8A8_SRGB -> MESA_FORMAT_ conversion.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 7 Mar 2014 13:35:24 +0000
(13:35 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 7 Mar 2014 13:35:24 +0000
(13:35 +0000)
Copy'n'past typo introduced in my
1d8e3067fd9ce72b3711fc208409ac4a7cff4e53
commit.
This fixes swapped RB channels I was seeing in my test machines.
Trivial.
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 0311a2bcce50599c92daa9b3d941dffb86e9d156..a558e24b37ba8ba17f788b445d5a4224a5c5fb6d 100644
(file)
--- a/
src/mesa/state_tracker/st_format.c
+++ b/
src/mesa/state_tracker/st_format.c
@@
-754,7
+754,7
@@
st_pipe_format_to_mesa_format(enum pipe_format format)
case PIPE_FORMAT_B8G8R8X8_SRGB:
return MESA_FORMAT_B8G8R8X8_SRGB;
case PIPE_FORMAT_R8G8B8A8_SRGB:
- return MESA_FORMAT_
B8G8R
8A8_SRGB;
+ return MESA_FORMAT_
R8G8B
8A8_SRGB;
default:
assert(0);