d3dcoder / d3d12book

Sample code for the book "Introduction to 3D Game Programming with DirectX 12"
1.53k stars 591 forks source link

Update d3dApp.cpp #11

Closed tongtzeho closed 7 years ago

tongtzeho commented 7 years ago

https://github.com/Microsoft/DirectXTK12/wiki/Simple-rendering Direct3D 12 doesn't support creating MSAA swap chains dsvDesc.ViewDimension = D3D12_DSV_DIMENSION_TEXTURE2DMS; // <--- Use MSAA version