Roderick Colenbrander : wined3d: Request aux buffers when using backbuffer rendering.
Alexandre Julliard
julliard at winehq.org
Mon Feb 25 06:51:03 CST 2008
Module: wine
Branch: master
Commit: e5bef99fbea6e5b7938511a0527f0b669546624b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e5bef99fbea6e5b7938511a0527f0b669546624b
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date: Sat Feb 23 15:15:11 2008 +0000
wined3d: Request aux buffers when using backbuffer rendering.
---
dlls/wined3d/context.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 769949a..cc9574b 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -231,6 +231,9 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar
fmt = WINED3DFMT_A4R4G4B4;
else if(target->resource.format == WINED3DFMT_X8R8G8B8)
fmt = WINED3DFMT_A8R8G8B8;
+
+ /* We like to have two aux buffers in backbuffer mode */
+ PUSH2(WGL_AUX_BUFFERS_ARB, 2);
}
if(!getColorBits(fmt, &redBits, &greenBits, &blueBits, &alphaBits, &colorBits)) {
More information about the wine-cvs
mailing list