mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-29 18:04:34 +00:00
Documentation "Introduction" - added paragraph about macros define before including headers. Issue #36 Thanks @chaoticbob !
This commit is contained in:
parent
53e9239797
commit
7ec3930906
@ -123,6 +123,13 @@ To do it properly:
|
|||||||
|
|
||||||
It may be a good idea to create dedicated CPP file just for this purpose.
|
It may be a good idea to create dedicated CPP file just for this purpose.
|
||||||
|
|
||||||
|
Please note that this library includes header `<vulkan/vulkan.h>`, which in turn
|
||||||
|
includes `<windows.h>` on Windows. If you need some specific macros defined
|
||||||
|
before including these headers (like `NOMINMAX`, `WIN32_LEAN_AND_MEAN`, or
|
||||||
|
`WINVER` for Windows, `VK_USE_PLATFORM_WIN32_KHR` for Vulkan), you must define
|
||||||
|
them before every `#include` of this library.
|
||||||
|
|
||||||
|
|
||||||
\section quick_start_initialization Initialization
|
\section quick_start_initialization Initialization
|
||||||
|
|
||||||
At program startup:
|
At program startup:
|
||||||
|
Loading…
Reference in New Issue
Block a user