I’m new to C++ and Vulkan. I started developing a small render engine on my Windows machine.
I’m now trying to make it run on my M1 Macbook too. (I’m using CMake btw.)
The engine runs correctly and all (adjusted the extensions and flags needed), but I have heavy memory-leaks on Mac.
The entire code is the same as on windows (except for some extensions and flags), and I have no memory leaks on windows…
When opening the Profiler (Instruments from Apple), it detects some leaks, but doesn’t give me the specific code areas where the leaks occur from. When I open the Profiler before starting the app, it crashes.
Does anyone have an idea on how I could fix this? (Let me know if you need further information)