testing a ecs
This commit is contained in:
parent
47d28b4f1e
commit
8915080b64
20 changed files with 20419 additions and 101 deletions
|
@ -207,16 +207,15 @@ struct window::impl {
|
|||
if (_window && !glfwWindowShouldClose(_window))
|
||||
{
|
||||
|
||||
// // reset input
|
||||
// input::get().reset();
|
||||
input::get().reset();
|
||||
|
||||
// get new events
|
||||
glfwPollEvents();
|
||||
|
||||
_parent._on_update(_parent);
|
||||
|
||||
glfwSwapBuffers(_window);
|
||||
|
||||
// // get new events
|
||||
glfwPollEvents();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue