Roderick Colenbrander : wined3d: We don' t want double buffering in pbuffer mode.
Alexandre Julliard
julliard at winehq.org
Thu May 1 13:36:17 CDT 2008
Module: wine
Branch: master
Commit: cb0f0af131a9c86b8deda8ab2ab97437064141f1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cb0f0af131a9c86b8deda8ab2ab97437064141f1
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date: Thu May 1 13:26:02 2008 +0000
wined3d: We don't want double buffering in pbuffer mode.
---
dlls/wined3d/context.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index dcce127..e5b82e5 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -148,8 +148,8 @@ static int WineD3D_ChoosePixelFormat(IWineD3DDeviceImpl *This, HDC hdc, WINED3DF
if(auxBuffers && !cfgs->auxBuffers)
continue;
- /* In pbuffer-mode we need a pbuffer-capable format */
- if(pbuffer && !cfgs->pbufferDrawable)
+ /* In pbuffer-mode we need a pbuffer-capable format but we don't want double buffering */
+ if(pbuffer && (!cfgs->pbufferDrawable || cfgs->doubleBuffer))
continue;
if(cfgs->redSize != redBits)
More information about the wine-cvs
mailing list