wined3d: Do not set the dynlock flag on all created surfaces.
This commit is contained in:
parent
88c8128704
commit
d88fe52564
|
@ -704,7 +704,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateSurface(IWineD3DDevice *iface, U
|
||||||
object->pow2Height = pow2Height;
|
object->pow2Height = pow2Height;
|
||||||
|
|
||||||
/* Flags */
|
/* Flags */
|
||||||
object->Flags = SFLAG_DYNLOCK;
|
object->Flags = 0;
|
||||||
object->Flags |= (pow2Width != Width || pow2Height != Height) ? SFLAG_NONPOW2 : 0;
|
object->Flags |= (pow2Width != Width || pow2Height != Height) ? SFLAG_NONPOW2 : 0;
|
||||||
object->Flags |= Discard ? SFLAG_DISCARD : 0;
|
object->Flags |= Discard ? SFLAG_DISCARD : 0;
|
||||||
object->Flags |= (WINED3DFMT_D16_LOCKABLE == Format) ? SFLAG_LOCKABLE : 0;
|
object->Flags |= (WINED3DFMT_D16_LOCKABLE == Format) ? SFLAG_LOCKABLE : 0;
|
||||||
|
|
Loading…
Reference in New Issue