Skip to content

Commit

Permalink
Update D3D12DynamicLOD.cpp
Browse files Browse the repository at this point in the history
Choose the most powerful device available to run Mesh Shader.
  • Loading branch information
kevgee authored Mar 18, 2021
1 parent 63ae30b commit 1e6a089
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void D3D12DynamicLOD::LoadPipeline()
else
{
ComPtr<IDXGIAdapter1> hardwareAdapter;
GetHardwareAdapter(factory.Get(), &hardwareAdapter);
GetHardwareAdapter(factory.Get(), &hardwareAdapter, true);

ThrowIfFailed(D3D12CreateDevice(
hardwareAdapter.Get(),
Expand Down

0 comments on commit 1e6a089

Please sign in to comment.