diff --git a/DDrawCompat/Gdi/ScrollFunctions.cpp b/DDrawCompat/Gdi/ScrollFunctions.cpp index 2aeb18d..b6a26d3 100644 --- a/DDrawCompat/Gdi/ScrollFunctions.cpp +++ b/DDrawCompat/Gdi/ScrollFunctions.cpp @@ -1,6 +1,5 @@ #include "Common/Hook.h" #include "Common/Log.h" -#include "D3dDdi/ScopedCriticalSection.h" #include "Gdi/Gdi.h" #include "Gdi/ScrollFunctions.h" #include "Gdi/Window.h" @@ -52,7 +51,6 @@ namespace Gdi void updateScrolledWindow(HWND hwnd) { - D3dDdi::ScopedCriticalSection lock; auto window(Gdi::Window::get(hwnd)); UINT flags = RDW_ERASE | RDW_INVALIDATE | RDW_NOCHILDREN | RDW_UPDATENOW; if (!window || window->getPresentationWindow() != hwnd)