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)
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue