mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-10 10:41:52 +00:00
Small change not to #include <vulkan/vulkan.h> if it was already included (possible from a different path) before including VMA. Issue #50 Thanks @baldurk !
This commit is contained in:
parent
3b392258e2
commit
e8b01485ce
@ -8,7 +8,8 @@
|
|||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#define VK_USE_PLATFORM_WIN32_KHR
|
#define VK_USE_PLATFORM_WIN32_KHR
|
||||||
|
|
||||||
#include <vulkan/vulkan.h>
|
// Uncomment to test including `vulkan.h` on your own before including VMA.
|
||||||
|
//#include <vulkan/vulkan.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
In every place where you want to use Vulkan Memory Allocator, define appropriate
|
In every place where you want to use Vulkan Memory Allocator, define appropriate
|
||||||
|
@ -1492,7 +1492,9 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
|
|||||||
#define NOMINMAX // For windows.h
|
#define NOMINMAX // For windows.h
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <vulkan/vulkan.h>
|
#ifndef VULKAN_H_
|
||||||
|
#include <vulkan/vulkan.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if VMA_RECORDING_ENABLED
|
#if VMA_RECORDING_ENABLED
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user