aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-10-26 08:09:05 +0200
committermarha <marha@users.sourceforge.net>2012-10-26 08:09:05 +0200
commit8d86f8c566c4181c846a872a5a2f88718e635a72 (patch)
treef19c89fae4a0b9fd62ee9a2a1368e5b127bef505 /mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
parent281f26a1dfda732687680a36857960f74608df5b (diff)
downloadvcxsrv-8d86f8c566c4181c846a872a5a2f88718e635a72.tar.gz
vcxsrv-8d86f8c566c4181c846a872a5a2f88718e635a72.tar.bz2
vcxsrv-8d86f8c566c4181c846a872a5a2f88718e635a72.zip
fontconfig pixman mesa git update 26 oct 2012
fontconfig: 038aa930ae2c3b7972eefe334917e7222fe478ec mesa: 8fb4b1dce156d02a0907925364d8945915c29bcf pixman: 4b91f6ca72db3e8cbd7e97e9ef44be2f8994040d
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_cb_drawpixels.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_cb_drawpixels.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c b/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
index 4e2edd2e7..642011488 100644
--- a/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
@@ -396,6 +396,8 @@ internal_format(struct gl_context *ctx, GLenum format, GLenum type)
case GL_UNSIGNED_BYTE_3_3_2:
case GL_UNSIGNED_BYTE_2_3_3_REV:
+ return GL_R3_G3_B2;
+
case GL_UNSIGNED_SHORT_4_4_4_4:
case GL_UNSIGNED_SHORT_4_4_4_4_REV:
return GL_RGBA4;