mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-12 19:41:47 +00:00
Fixed preprocessor macros to fix compilation in C projects. Issue #26. Thanks @jesta88 !
This commit is contained in:
parent
bafb06e50d
commit
7b08b8f375
@ -2181,7 +2181,7 @@ void vmaDestroyImage(
|
|||||||
#endif // AMD_VULKAN_MEMORY_ALLOCATOR_H
|
#endif // AMD_VULKAN_MEMORY_ALLOCATOR_H
|
||||||
|
|
||||||
// For Visual Studio IntelliSense.
|
// For Visual Studio IntelliSense.
|
||||||
#ifdef __INTELLISENSE__
|
#if defined(__cplusplus) && defined(__INTELLISENSE__)
|
||||||
#define VMA_IMPLEMENTATION
|
#define VMA_IMPLEMENTATION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user