Commit cb0f0af1 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

wined3d: We don't want double buffering in pbuffer mode.

parent 96c770d9
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment