Fix WARP use on D3D12

This commit is contained in:
baldurk
2019-11-20 22:40:00 +00:00
parent 98f91fcc0e
commit e353fd1a00
+1 -1
View File
@@ -122,7 +122,7 @@ void D3D12GraphicsTest::Prepare(int argc, char **argv)
adapter = ChooseD3DAdapter(factory, argc, argv, warp);
if(warp && d3d12on7)
if(warp && !d3d12on7)
{
IDXGIFactory4Ptr factory4 = factory;
if(factory4)