Merge pull request #457 from DougTy/master

Just Cause 3 game capture fix
master
Jim 2015-12-03 17:19:16 -08:00
commit 4d0aaac860
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ void SetupDXGIStuff(IDXGISwapChain *swap)
/* CoD: ghosts hack because apparently on nvidia GPUs it has some d3d10 context open */
if (_strcmpi(processName, "iw6sp64_ship.exe") == 0 ||
_strcmpi(processName, "iw6mp64_ship.exe") == 0)
_strcmpi(processName, "iw6mp64_ship.exe") == 0 ||
_strcmpi(processName, "justcause3.exe") == 0)
d3d11only = true;
if(!d3d11only && SUCCEEDED(deviceUnk->QueryInterface(__uuidof(ID3D10Device), (void**)&device)))