summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 138f064..13048ac 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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) {