diff options
author | chai <chaifix@163.com> | 2020-07-12 01:55:45 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-07-12 01:55:45 +0800 |
commit | ec7aa42781a9108901fbde7210d8285bbbeaf5fc (patch) | |
tree | 9a17690248cf855c0bb31c057f24159d4f81eafe /src/main.c | |
parent | e849a07762a2feb3f124a08d50adeed52f085d5b (diff) |
*capture
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) { |