mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Revert "Always use DDLOCK_NOSYSLOCK"
This reverts commit 246108bbdfb0bde175a63f06afc2f5b36e85ac36. See issue #256.
This commit is contained in:
parent
bf73a7dd21
commit
329679b4e9
@ -238,7 +238,7 @@ namespace DDraw
|
||||
{
|
||||
Gdi::WinProc::startFrame();
|
||||
RealPrimarySurface::waitForFlip(m_data->getDDS());
|
||||
HRESULT result = getOrigVtable(This).Lock(This, lpDestRect, lpDDSurfaceDesc, dwFlags | DDLOCK_NOSYSLOCK, hEvent);
|
||||
HRESULT result = getOrigVtable(This).Lock(This, lpDestRect, lpDDSurfaceDesc, dwFlags, hEvent);
|
||||
if (SUCCEEDED(result))
|
||||
{
|
||||
restoreOrigCaps(lpDDSurfaceDesc->ddsCaps.dwCaps);
|
||||
|
Loading…
x
Reference in New Issue
Block a user