[App] Only start D3D12 if DLL exists

This commit is contained in:
Triang3l
2019-08-03 22:33:09 +03:00
parent 9aaef8871d
commit 890a32bd98
5 changed files with 24 additions and 4 deletions

View File

@@ -26,6 +26,8 @@ class D3D12GraphicsSystem : public GraphicsSystem {
D3D12GraphicsSystem();
~D3D12GraphicsSystem() override;
static bool IsD3D12APIAvailable();
std::wstring name() const override;
X_STATUS Setup(cpu::Processor* processor, kernel::KernelState* kernel_state,