From: José Fonseca Date: Tue, 19 Jan 2010 03:32:36 +0000 (-0800) Subject: mesa: Handle PIPE_FORMAT_B8G8R8X8_UNORM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fb92e96e90a8cb57da78444fd3395aba424cb0a;p=mesa.git mesa: Handle PIPE_FORMAT_B8G8R8X8_UNORM. --- diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 6b1c49954f1..d2bc0dc8ba6 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -293,6 +293,8 @@ st_pipe_format_to_mesa_format(enum pipe_format pipeFormat) return MESA_FORMAT_XRGB8888; case PIPE_FORMAT_B8G8R8A8_UNORM: return MESA_FORMAT_ARGB8888_REV; + case PIPE_FORMAT_B8G8R8X8_UNORM: + return MESA_FORMAT_XRGB8888_REV; case PIPE_FORMAT_A1R5G5B5_UNORM: return MESA_FORMAT_ARGB1555; case PIPE_FORMAT_A4R4G4B4_UNORM: