mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 04:10:06 +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
|
||||
|
||||
// For Visual Studio IntelliSense.
|
||||
#ifdef __INTELLISENSE__
|
||||
#if defined(__cplusplus) && defined(__INTELLISENSE__)
|
||||
#define VMA_IMPLEMENTATION
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user