win-capture: Add hook exception for theHunter: COTW

Adds an exception to skip d3d10 checks for theHunter: Call of the Wild,
which fixes incompatibility with game capture.

Closes jp9000/obs-studio#801
master
Cam 2017-02-16 20:33:31 +01:00 committed by jp9000
parent 2e4a17c50d
commit 8a6491c9bf
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ static bool setup_dxgi(IDXGISwapChain *swap)
* quite know. */ * quite know. */
if (_strcmpi(process_name, "iw6sp64_ship.exe") == 0 || 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) { _strcmpi(process_name, "justcause3.exe") == 0 ||
_strcmpi(process_name, "theHunterCotW_F.exe") == 0) {
ignore_d3d10 = true; ignore_d3d10 = true;
} }