summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2014-03-07 13:35:24 +0000
committerJosé Fonseca <[email protected]>2014-03-07 13:35:24 +0000
commitb3689adf519c2997100acae541c315d7333ab731 (patch)
tree79d98b50eea59d1382886668d6066a1329e81cf9 /src/mesa/state_tracker
parent7233d4479ece9645174ce696ececf88953b52e86 (diff)
mesa/st: Fix PIPE_FORMAT_R8G8B8A8_SRGB -> MESA_FORMAT_ conversion.
Copy'n'past typo introduced in my 1d8e3067fd9ce72b3711fc208409ac4a7cff4e53 commit. This fixes swapped RB channels I was seeing in my test machines. Trivial.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c
index 0311a2bcce5..a558e24b37b 100644
--- 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_B8G8R8A8_SRGB;
+ return MESA_FORMAT_R8G8B8A8_SRGB;
default:
assert(0);