Browse Source

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
Cam 8 years ago
parent
commit
8a6491c9bf
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/win-capture/graphics-hook/dxgi-capture.cpp

+ 2 - 1
plugins/win-capture/graphics-hook/dxgi-capture.cpp

@@ -38,7 +38,8 @@ static bool setup_dxgi(IDXGISwapChain *swap)
 	 * quite know. */
 	if (_strcmpi(process_name, "iw6sp64_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;
 	}