Hi, I am trying to use SDL3 + Imgui with metal-cpp. I noticed that memory usage is going up rapidly. I profiled the app with Instruments' Leaks template and it seems that Imgui_ImplMetal is leaking the FrameBufferDescriptors. I tried to port from the Metal SDL2 sample as much as possible.
I can also provide my CMake config linking metal-cpp and sdl3 if needed.
Version/Branch of Dear ImGui:
master
Back-ends:
imgui_impl_sdl3.h + imgui_impl_metal.h
Compiler, OS:
macOS 15.2, clang version 19.1.3
Full config/build information:
Details:
Hi, I am trying to use SDL3 + Imgui with metal-cpp. I noticed that memory usage is going up rapidly. I profiled the app with Instruments' Leaks template and it seems that Imgui_ImplMetal is leaking the FrameBufferDescriptors. I tried to port from the Metal SDL2 sample as much as possible.
I can also provide my CMake config linking metal-cpp and sdl3 if needed.
Screenshots/Video:
Minimal, Complete and Verifiable Example code: