projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf30122
)
Glide driver (windowed mode) fix for Voodoo2
author
Daniel Borca
<dborca@users.sourceforge.net>
Mon, 12 Jan 2004 12:28:05 +0000
(12:28 +0000)
committer
Daniel Borca
<dborca@users.sourceforge.net>
Mon, 12 Jan 2004 12:28:05 +0000
(12:28 +0000)
src/mesa/drivers/x11/xm_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/xm_api.c
b/src/mesa/drivers/x11/xm_api.c
index f1d4ea0ccb0a4e1942b0803081af00d13016e613..f25c3e3bc6130327ed3c3a4c5d3d7aedf1cb3d5f 100644
(file)
--- 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