mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
revert lock/unlock changes since it doesn't work too well with GDI rendering
This commit is contained in:
parent
772c0374eb
commit
56693f67ad
@ -311,7 +311,7 @@ HRESULT __stdcall ddraw_surface_Lock(IDirectDrawSurfaceImpl *This, LPRECT lpDest
|
||||
|
||||
HRESULT ret = ddraw_surface_GetSurfaceDesc(This, lpDDSurfaceDesc);
|
||||
|
||||
EnterCriticalSection(&ddraw->cs);
|
||||
//EnterCriticalSection(&ddraw->cs);
|
||||
|
||||
return ret;
|
||||
}
|
||||
@ -368,7 +368,7 @@ HRESULT __stdcall ddraw_surface_Unlock(IDirectDrawSurfaceImpl *This, LPVOID lpRe
|
||||
printf("DirectDrawSurface::Unlock(This=%p, lpRect=%p)\n", This, lpRect);
|
||||
#endif
|
||||
|
||||
LeaveCriticalSection(&ddraw->cs);
|
||||
//LeaveCriticalSection(&ddraw->cs);
|
||||
|
||||
return DD_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user