From deca80531e4d8b68a63a10f50490509bb4257d75 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 3 Dec 2015 17:19:35 -0800 Subject: [PATCH] win-capture: Add hook exception for Just Cause 3 --- plugins/win-capture/graphics-hook/dxgi-capture.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/win-capture/graphics-hook/dxgi-capture.cpp b/plugins/win-capture/graphics-hook/dxgi-capture.cpp index b4b42e055..6580169b3 100644 --- a/plugins/win-capture/graphics-hook/dxgi-capture.cpp +++ b/plugins/win-capture/graphics-hook/dxgi-capture.cpp @@ -34,7 +34,8 @@ static bool setup_dxgi(IDXGISwapChain *swap) * context when it's actually a d3d11 context. Why this is I don't * quite know. */ if (_strcmpi(process_name, "iw6sp64_ship.exe") == 0 || - _strcmpi(process_name, "iw6mp64_ship.exe") == 0) { + _strcmpi(process_name, "iw6mp64_ship.exe") == 0 || + _strcmpi(process_name, "justcause3.exe") == 0) { ignore_d3d10 = true; }