swrast: Remove the 2_3_3_REV framebuffer format
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 12 Jul 2012 20:49:59 +0000 (13:49 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Oct 2012 16:55:27 +0000 (09:55 -0700)
There is no gl_format in Mesa that corresponds to this arrangement, so I
have a very hard time believing that this works.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/swrast/swrast.c

index 7596973b028ea76867ffd2ecfba53e2c89fa0b90..c608bcdc6ebdbe9045d1ed13dc175651d5a6dd5c 100644 (file)
@@ -161,10 +161,6 @@ swrastFillInModes(__DRIscreen *psp,
     back_buffer_factor = 2;
 
     switch (pixel_bits) {
-    case 8:
-       fb_format = GL_RGB;
-       fb_type = GL_UNSIGNED_BYTE_2_3_3_REV;
-       break;
     case 16:
        fb_format = GL_RGB;
        fb_type = GL_UNSIGNED_SHORT_5_6_5;