message: Don't create temporary device if D3D12 is not supported
diff: @@ -170,6 +170,8 @@ void D3D12GraphicsTest::Prepare(int argc, char **argv)
  m_Factory = factory;
  + if(Avail.empty())
  + {
  ID3D12DevicePtr tmpdev = CreateDevice(adapters, minFeatureLevel);
  if(tmpdev)
  @@ -184,6 +186,7 @@ void D3D12GraphicsTest::Prepare(int argc, char **argv)
  tmpdev->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS7, &opts7, sizeof(opts7));
  }
  }
  +}
  bool D3D12GraphicsTest::Init()
  {
  