From: Brian Paul Date: Sun, 27 Dec 2009 17:09:24 +0000 (-0700) Subject: st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7831515e69ac875b1ac0b1b248ab10c6cf37bf52;p=mesa.git st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM --- diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 02f80057c29..091f68190e5 100644 --- 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: