Mesa (master): swrast: Remove the 2_3_3_REV framebuffer format
Ian Romanick
idr at kemper.freedesktop.org
Mon Oct 29 16:59:01 UTC 2012
Module: Mesa
Branch: master
Commit: 0398a26097993bbbcc2f418363da00edad5ab5cf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0398a26097993bbbcc2f418363da00edad5ab5cf
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Jul 12 13:49:59 2012 -0700
swrast: Remove the 2_3_3_REV framebuffer format
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 at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/swrast/swrast.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c
index 7596973..c608bcd 100644
--- a/src/mesa/drivers/dri/swrast/swrast.c
+++ b/src/mesa/drivers/dri/swrast/swrast.c
@@ -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;
More information about the mesa-commit
mailing list