Fix for Just Cause 3 game capture

master
Doug Ty 2015-12-02 22:54:12 -07:00
parent d57cba7edb
commit 860af4d771
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)))