almost first rendering, fixing renderer issues

This commit is contained in:
2022-12-19 00:59:45 +01:00
parent c907c52968
commit 2c6c3a945e
417 changed files with 60861 additions and 298 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: 2022/12/18 02:49:45 by maldavid ### ########.fr */
/* Updated: 2022/12/19 00:40:17 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -19,8 +19,14 @@ namespace mlx::core
while(_in.is_running())
{
_in.update();
for(auto win : _wins)
win->beginFrame();
if(_loop_hook)
_loop_hook(_param);
for(auto win : _wins)
win->endFrame();
}
}
}