fixing multiple window issue

This commit is contained in:
2024-04-22 17:35:41 +02:00
parent 610603e87c
commit a69ea93597
3 changed files with 6 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 22:10:52 by maldavid #+# #+# */
/* Updated: 2024/04/21 18:13:29 by maldavid ### ########.fr */
/* Updated: 2024/04/22 17:35:15 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -40,6 +40,7 @@ namespace mlx::core
void Application::run() noexcept
{
_in->run();
while(_in->isRunning())
{
if(!_fps.update())