[PATCH] Request aux buffers in backbuffer mode. Before our single pixel format had aux buffers.

Roderick Colenbrander thunderbird2k at gmx.net
Sat Feb 23 09:15:11 CST 2008


---
 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)) {
-- 
1.5.3.8


--========GMX46191203780153971294--



More information about the wine-patches mailing list