diff options
author | José Fonseca <[email protected]> | 2010-01-18 19:32:36 -0800 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-01-18 20:34:19 -0800 |
commit | 8fb92e96e90a8cb57da78444fd3395aba424cb0a (patch) | |
tree | 3bb5e02291bc5d6f8d6c65af972fe6f929d753b1 /src/mesa | |
parent | bcadde2068563b818a280e40e6189191e10fd371 (diff) |
mesa: Handle PIPE_FORMAT_B8G8R8X8_UNORM.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_format.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |