From 68d1efbb71f81911fe9f1cfeea9a6828f5a35c82 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Sat, 13 Nov 2021 06:31:54 +0200 Subject: [PATCH] Corrected DXGI import --- ExplorerPatcher/dxgi_imp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)