mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-05 16:27:25 -06:00
Use vcpkg for dependencies.
This commit is contained in:
@@ -12,8 +12,6 @@
|
||||
#pragma clang diagnostic ignored "-Wswitch"
|
||||
#endif
|
||||
|
||||
#include "D3D12MemAlloc.cpp"
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
@@ -3307,7 +3305,7 @@ namespace RT64 {
|
||||
D3D12MA::ALLOCATOR_DESC allocatorDesc = {};
|
||||
allocatorDesc.pDevice = d3d;
|
||||
allocatorDesc.pAdapter = adapter;
|
||||
allocatorDesc.Flags = D3D12MA::ALLOCATOR_FLAG_DEFAULT_POOLS_NOT_ZEROED | D3D12MA::ALLOCATOR_FLAG_MSAA_TEXTURES_ALWAYS_COMMITTED | D3D12MA::ALLOCATOR_FLAG_DONT_PREFER_SMALL_BUFFERS_COMMITTED;
|
||||
allocatorDesc.Flags = D3D12MA::ALLOCATOR_FLAG_DEFAULT_POOLS_NOT_ZEROED | D3D12MA::ALLOCATOR_FLAG_MSAA_TEXTURES_ALWAYS_COMMITTED;
|
||||
|
||||
res = D3D12MA::CreateAllocator(&allocatorDesc, &allocator);
|
||||
if (FAILED(res)) {
|
||||
|
||||
Reference in New Issue
Block a user