fixing macOS issue

This commit is contained in:
Kbz-8
2025-01-11 22:28:39 +01:00
parent 712ac4be64
commit 2030534cf2
12 changed files with 12 additions and 644 deletions

View File

@@ -216,7 +216,7 @@ namespace mlx
return y;
}
void SDLManager::InputsFetcher(func::function<void(mlx_event_type, int, int)> functor)
void SDLManager::InputsFetcher(std::function<void(mlx_event_type, int, int)> functor)
{
SDL_Event event;
while(SDL_PollEvent(&event))