diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -103,7 +103,8 @@ int main(int argc, char* argv[]) { wog_Event e; while (1) { /*handle events*/ - while (wog_pollEvent(wnd, &e)) { + //while (wog_pollEvent(wnd, &e)) { + if (wog_pollEvent(wnd, &e)) { camera_onevent(scene.main_camera, &e, _dt); gizmo_onevent(&e, _dt); if (e.type == WOG_ECLOSE) { |