aboutsummaryrefslogtreecommitdiffstats
path: root/test/pugl_cairo_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pugl_cairo_test.c')
-rw-r--r--test/pugl_cairo_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pugl_cairo_test.c b/test/pugl_cairo_test.c
index 7779069..6d85c54 100644
--- a/test/pugl_cairo_test.c
+++ b/test/pugl_cairo_test.c
@@ -227,7 +227,7 @@ main(int argc, char** argv)
if (continuous) {
puglPostRedisplay(view);
} else {
- puglWaitForEvent(view);
+ puglPollEvents(world, -1);
}
puglProcessEvents(view);