aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/pugl_vulkan_demo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/pugl_vulkan_demo.c b/examples/pugl_vulkan_demo.c
index 59e3060..2f9eaff 100644
--- a/examples/pugl_vulkan_demo.c
+++ b/examples/pugl_vulkan_demo.c
@@ -1,4 +1,4 @@
-// Copyright 2019-2020 David Robillard <d@drobilla.net>
+// Copyright 2019-2023 David Robillard <d@drobilla.net>
// Copyright 2019 Jordan Halase <jordan@halase.me>
// SPDX-License-Identifier: ISC
@@ -1008,6 +1008,8 @@ onEvent(PuglView* const view, const PuglEvent* const e)
printEvent(e, "Event: ", app->opts.verbose);
switch (e->type) {
+ case PUGL_UPDATE:
+ return app->opts.continuous ? puglPostRedisplay(view) : PUGL_SUCCESS;
case PUGL_EXPOSE:
return onExpose(view);
case PUGL_CONFIGURE: