summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-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);