aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-22 16:53:02 +0200
committerDavid Robillard <d@drobilla.net>2019-09-03 08:32:16 +0200
commit93f4920cfc03d1a2a8c0df9c6d863cdf20c6ab32 (patch)
tree64ef7427a32b88183bae8720b07fc9258b769b3e /test
parent496f17c3804c79d304aa6095b92768593d1cc700 (diff)
downloadpugl-93f4920cfc03d1a2a8c0df9c6d863cdf20c6ab32.tar.gz
pugl-93f4920cfc03d1a2a8c0df9c6d863cdf20c6ab32.tar.bz2
pugl-93f4920cfc03d1a2a8c0df9c6d863cdf20c6ab32.zip
Add puglDispatchEvents()
Diffstat (limited to 'test')
-rw-r--r--test/pugl_cairo_test.c2
-rw-r--r--test/pugl_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/pugl_cairo_test.c b/test/pugl_cairo_test.c
index 6d85c54..3ac2054 100644
--- a/test/pugl_cairo_test.c
+++ b/test/pugl_cairo_test.c
@@ -230,7 +230,7 @@ main(int argc, char** argv)
puglPollEvents(world, -1);
}
- puglProcessEvents(view);
+ puglDispatchEvents(world);
if (continuous) {
puglPrintFps(world, &fpsPrinter, &framesDrawn);
diff --git a/test/pugl_test.c b/test/pugl_test.c
index 66fd97d..d6207fe 100644
--- a/test/pugl_test.c
+++ b/test/pugl_test.c
@@ -215,7 +215,7 @@ main(int argc, char** argv)
puglPollEvents(app.world, -1);
}
- puglProcessEvents(view);
+ puglDispatchEvents(app.world);
if (!requestedAttention && thisTime > 5.0) {
puglRequestAttention(view);