summaryrefslogtreecommitdiff
path: root/pugl_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-09-12 19:45:02 -0400
committerDavid Robillard <d@drobilla.net>2015-09-12 19:45:02 -0400
commit809ead2220f5a9ed66f88b1ae84a93e334e2717f (patch)
tree64ef3ffc307e8d6b8847e2daf878e6e2997bb87d /pugl_test.c
parent6b4a5a128ef5d87374dfef017cd20e069c068a4b (diff)
Add puglWaitForEvent for blocking main loops.
Diffstat (limited to 'pugl_test.c')
-rw-r--r--pugl_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pugl_test.c b/pugl_test.c
index 248a49a..af51e53 100644
--- a/pugl_test.c
+++ b/pugl_test.c
@@ -191,6 +191,7 @@ main(int argc, char** argv)
puglShowWindow(view);
while (!quit) {
+ puglWaitForEvent(view);
puglProcessEvents(view);
}