From: Daniel Borca Date: Mon, 12 Jan 2004 12:28:05 +0000 (+0000) Subject: Glide driver (windowed mode) fix for Voodoo2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b65e52fb19599688494e7dcb292ab3bd1eee1b3;p=mesa.git Glide driver (windowed mode) fix for Voodoo2 --- diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index f1d4ea0ccb0..f25c3e3bc61 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -2237,7 +2237,11 @@ static void FXgetImage( XMesaBuffer b ) xmesa_alloc_back_buffer( b ); } - grLfbWriteColorFormat(GR_COLORFORMAT_ARGB); + /* [dBorca] + * not needed for Voodoo2 anymore. + * should we test fxMesa->bgrOrder? + */ + /* grLfbWriteColorFormat(GR_COLORFORMAT_ARGB); */ if (b->xm_visual->undithered_pf==PF_5R6G5B) { /* Special case: 16bpp RGB */ grLfbReadRegion( GR_BUFFER_FRONTBUFFER, /* src buffer */ @@ -2292,7 +2296,7 @@ static void FXgetImage( XMesaBuffer b ) } } } - grLfbWriteColorFormat(GR_COLORFORMAT_ABGR); + /* grLfbWriteColorFormat(GR_COLORFORMAT_ABGR); */ } #endif