diff --git a/ddraw.dll b/ddraw.dll index 58774d5..8af0da0 100644 Binary files a/ddraw.dll and b/ddraw.dll differ diff --git a/surface.c b/surface.c index ff06862..de0b970 100644 --- a/surface.c +++ b/surface.c @@ -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; }