wined3d: We don't want double buffering in pbuffer mode.
This commit is contained in:
parent
96c770d9bf
commit
cb0f0af131
|
@ -148,8 +148,8 @@ static int WineD3D_ChoosePixelFormat(IWineD3DDeviceImpl *This, HDC hdc, WINED3DF
|
||||||
if(auxBuffers && !cfgs->auxBuffers)
|
if(auxBuffers && !cfgs->auxBuffers)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* In pbuffer-mode we need a pbuffer-capable format */
|
/* In pbuffer-mode we need a pbuffer-capable format but we don't want double buffering */
|
||||||
if(pbuffer && !cfgs->pbufferDrawable)
|
if(pbuffer && (!cfgs->pbufferDrawable || cfgs->doubleBuffer))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if(cfgs->redSize != redBits)
|
if(cfgs->redSize != redBits)
|
||||||
|
|
Loading…
Reference in New Issue