aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_vulkan_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-01-23 17:00:36 -0500
committerDavid Robillard <d@drobilla.net>2025-01-23 18:02:52 -0500
commitd7a93950b3af397580572adf2e366f3b162104a9 (patch)
treebc555c1c5449680ab9436799e5968d26948675fc /examples/pugl_vulkan_demo.c
parent985dfb99f6a017a2d4629631ee76f74d6ca9eb14 (diff)
downloadpugl-d7a93950b3af397580572adf2e366f3b162104a9.tar.gz
pugl-d7a93950b3af397580572adf2e366f3b162104a9.tar.bz2
pugl-d7a93950b3af397580572adf2e366f3b162104a9.zip
Rename puglPostRedisplay() to puglObscureView()
For consistency with event types (since "obscure" is opposite "expose") and the upcoming puglObscureRegion().
Diffstat (limited to 'examples/pugl_vulkan_demo.c')
-rw-r--r--examples/pugl_vulkan_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_vulkan_demo.c b/examples/pugl_vulkan_demo.c
index 35be97f..708a28f 100644
--- a/examples/pugl_vulkan_demo.c
+++ b/examples/pugl_vulkan_demo.c
@@ -1009,7 +1009,7 @@ onEvent(PuglView* const view, const PuglEvent* const e)
switch (e->type) {
case PUGL_UPDATE:
- return app->opts.continuous ? puglPostRedisplay(view) : PUGL_SUCCESS;
+ return app->opts.continuous ? puglObscureView(view) : PUGL_SUCCESS;
case PUGL_EXPOSE:
return onExpose(view);
case PUGL_CONFIGURE: