diff options
author | Michel Dänzer <[email protected]> | 2007-12-06 11:25:40 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2007-12-06 11:25:40 +0100 |
commit | d492b388c96d98825ce9c6a9567ad83b3dee14b9 (patch) | |
tree | 719be1d62d990d14334b6a8993c3ee42371203f5 /src/mesa/state_tracker/st_format.c | |
parent | 753db0d8407147393a7b0622ae3fa28f68d0353d (diff) |
st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444.
Diffstat (limited to 'src/mesa/state_tracker/st_format.c')
-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 6d056dbe832..b6b9375967e 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -256,6 +256,8 @@ st_mesa_format_to_pipe_format(GLuint mesaFormat) case MESA_FORMAT_ARGB8888_REV: case MESA_FORMAT_ARGB8888: return PIPE_FORMAT_U_A8_R8_G8_B8; + case MESA_FORMAT_ARGB4444: + return PIPE_FORMAT_U_A4_R4_G4_B4; case MESA_FORMAT_AL88: return PIPE_FORMAT_U_A8_L8; case MESA_FORMAT_A8: |