mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-23 04:30:05 +00:00
Support using open-sourced DirectX headers.
This commit is contained in:
parent
4d16e802e0
commit
7234846ff5
@ -61,7 +61,13 @@ Documentation of all members: D3D12MemAlloc.h
|
||||
// If using this library on a platform different than Windows PC or want to use different version of DXGI,
|
||||
// you should include D3D12-compatible headers before this library on your own and define this macro.
|
||||
#ifndef D3D12MA_D3D12_HEADERS_ALREADY_INCLUDED
|
||||
#include <d3d12.h>
|
||||
#if defined(USING_DIRECTX_HEADERS)
|
||||
#include <directx/d3d12.h>
|
||||
#include <dxguids/dxguids.h>
|
||||
#else
|
||||
#include <d3d12.h>
|
||||
#endif
|
||||
|
||||
#include <dxgi1_4.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user