From 9bb7a4f154939b19332812b14795782b61eba6f5 Mon Sep 17 00:00:00 2001 From: Valentin-Gabriel Radu Date: Mon, 13 Sep 2021 17:01:15 +0300 Subject: [PATCH] Corrected dxgi export --- ExplorerPatcher/dllmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index f20b481..83679d8 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -550,7 +550,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)