diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-12-06 11:25:40 +0100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-12-09 12:05:25 +1100 |
commit | b57632f04e72fb38305a963d25affd9c25b96fd2 (patch) | |
tree | 304db17fc19723fbee5cd552a552274fd12465ea | |
parent | 274603c5c9553a13c44c6e3d48ac73c280cd3b64 (diff) |
st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444.
-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 6d056dbe83..b6b9375967 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: |