mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
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@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
386282b5c2
commit
0398a26097
1 changed files with 0 additions and 4 deletions
|
|
@ -161,10 +161,6 @@ swrastFillInModes(__DRIscreen *psp,
|
||||||
back_buffer_factor = 2;
|
back_buffer_factor = 2;
|
||||||
|
|
||||||
switch (pixel_bits) {
|
switch (pixel_bits) {
|
||||||
case 8:
|
|
||||||
fb_format = GL_RGB;
|
|
||||||
fb_type = GL_UNSIGNED_BYTE_2_3_3_REV;
|
|
||||||
break;
|
|
||||||
case 16:
|
case 16:
|
||||||
fb_format = GL_RGB;
|
fb_format = GL_RGB;
|
||||||
fb_type = GL_UNSIGNED_SHORT_5_6_5;
|
fb_type = GL_UNSIGNED_SHORT_5_6_5;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue