fixing macOS issue

This commit is contained in:
2025-01-11 22:28:39 +01:00
parent 12c7469f52
commit ef16cd3fdb
12 changed files with 12 additions and 644 deletions

View File

@@ -11,7 +11,7 @@ namespace mlx
m_2Dpass.Init();
m_final.Init();
func::function<void(const EventBase&)> functor = [this](const EventBase& event)
std::function<void(const EventBase&)> functor = [this](const EventBase& event)
{
if(event.What() == Event::ResizeEventCode)
m_main_render_texture.Destroy();