Removed DX12 until further notice.

This commit is contained in:
Nemirtingas 2019-08-27 19:21:32 +02:00
parent 622c435cb7
commit 3c265596a9

View File

@ -103,11 +103,11 @@ HRESULT STDMETHODCALLTYPE Renderer_Detector::MyIDXGISwapChain_Present(IDXGISwapC
}
else
{
_this->GetDevice(IID_PPV_ARGS(reinterpret_cast<ID3D12Device**>(&pDevice)));
if (pDevice)
{
DX12_Hook::Inst()->start_hook();
}
//_this->GetDevice(IID_PPV_ARGS(reinterpret_cast<ID3D12Device**>(&pDevice)));
//if (pDevice)
//{
// DX12_Hook::Inst()->start_hook();
//}
}
}
if (pDevice) pDevice->Release();