summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2004-01-12 12:28:05 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2004-01-12 12:28:05 +0000
commit1b65e52fb19599688494e7dcb292ab3bd1eee1b3 (patch)
tree3203b3ad05bee199e71a5e187098fab368d0ca46 /src
parentbf30122484a447f67e8aac5b7c845113e41a41ac (diff)
Glide driver (windowed mode) fix for Voodoo2
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/x11/xm_api.c8
1 files changed, 6 insertions, 2 deletions
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