diff --git a/Samples/Desktop/D3D12MeshShaders/src/DynamicLOD/D3D12DynamicLOD.cpp b/Samples/Desktop/D3D12MeshShaders/src/DynamicLOD/D3D12DynamicLOD.cpp index c2902b525..d0e3a886f 100644 --- a/Samples/Desktop/D3D12MeshShaders/src/DynamicLOD/D3D12DynamicLOD.cpp +++ b/Samples/Desktop/D3D12MeshShaders/src/DynamicLOD/D3D12DynamicLOD.cpp @@ -128,7 +128,7 @@ void D3D12DynamicLOD::LoadPipeline() else { ComPtr hardwareAdapter; - GetHardwareAdapter(factory.Get(), &hardwareAdapter); + GetHardwareAdapter(factory.Get(), &hardwareAdapter, true); ThrowIfFailed(D3D12CreateDevice( hardwareAdapter.Get(),