Stefan Dösinger : wined3d: Do not set the dynlock flag on all created surfaces.
Module: wine Branch: master Commit: d88fe525646db850dfd15db565f77fcbb7e6ac7c URL: http://source.winehq.org/git/wine.git/?a=commit;h=d88fe525646db850dfd15db565... Author: Stefan Dösinger <stefandoesinger(a)gmx.at> Date: Sat May 26 19:45:02 2007 +0200 wined3d: Do not set the dynlock flag on all created surfaces. --- dlls/wined3d/device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index f3bf509..d81ea0b 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -704,7 +704,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateSurface(IWineD3DDevice *iface, U object->pow2Height = pow2Height; /* Flags */ - object->Flags = SFLAG_DYNLOCK; + object->Flags = 0; object->Flags |= (pow2Width != Width || pow2Height != Height) ? SFLAG_NONPOW2 : 0; object->Flags |= Discard ? SFLAG_DISCARD : 0; object->Flags |= (WINED3DFMT_D16_LOCKABLE == Format) ? SFLAG_LOCKABLE : 0;
participants (1)
-
Alexandre Julliard