diff --git a/ExplorerPatcher/dxgi_imp.h b/ExplorerPatcher/dxgi_imp.h index b3beb53..906d14c 100644 --- a/ExplorerPatcher/dxgi_imp.h +++ b/ExplorerPatcher/dxgi_imp.h @@ -79,7 +79,7 @@ __declspec(dllexport) HRESULT PIXEndCapture() static HRESULT(*PIXGetCaptureStateFunc)(); __declspec(dllexport) HRESULT PIXGetCaptureState() { - return PIXGetCaptureState(); + return PIXGetCaptureStateFunc(); } static HRESULT(*SetAppCompatStringPointerFunc)(SIZE_T, void*); __declspec(dllexport) HRESULT SetAppCompatStringPointer(SIZE_T p1, void* p2)