win-capture: Add hook exception for Just Cause 3

master
jp9000 2015-12-03 17:19:35 -08:00
parent c32407d1df
commit deca80531e
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}