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

This commit is contained in:
Roderick Colenbrander 2008-05-01 13:26:02 +00:00 committed by Alexandre Julliard
parent 96c770d9bf
commit cb0f0af131
1 changed files with 2 additions and 2 deletions

View File

@ -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)