Skip to content
Snippets Groups Projects
Commit bb28e662 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#79] Potential fix for MinGW problems with VMA

parent affd25d2
No related branches found
No related tags found
1 merge request!80Resolve "MinGW corrections for the hacks"
#include <mutex>
#ifndef NDEBUG #ifndef NDEBUG
#define _DEBUG #define _DEBUG
#endif #endif
#ifndef _WIN32
#ifndef _aligned_malloc
#define _aligned_malloc(alignment, size) aligned_alloc((alignment), (size))
#endif
#endif
#define VMA_IMPLEMENTATION #define VMA_IMPLEMENTATION
#include "vk_mem_alloc.hpp" #include "vk_mem_alloc.hpp"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment