aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_vulkan_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-10 15:25:02 -0500
committerDavid Robillard <d@drobilla.net>2023-01-11 03:28:10 -0500
commit569ad0408d5db4911b20138a46cde8f6912d8291 (patch)
tree87d813a4d7ecd0d3de954f65e1efd0122c96696d /examples/pugl_vulkan_demo.c
parente554f8c5ea5f812e7e0ce7d5c99129370c4c595a (diff)
downloadpugl-569ad0408d5db4911b20138a46cde8f6912d8291.tar.gz
pugl-569ad0408d5db4911b20138a46cde8f6912d8291.tar.bz2
pugl-569ad0408d5db4911b20138a46cde8f6912d8291.zip
Raise the initial display of example windows
This is the standard behaviour for applications.
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 5fe7100..c12c390 100644
--- a/examples/pugl_vulkan_demo.c
+++ b/examples/pugl_vulkan_demo.c
@@ -1101,7 +1101,7 @@ main(int argc, char** argv)
printf("Swapchain images: %u\n", app.vk.swapchain->nImages);
PuglFpsPrinter fpsPrinter = {puglGetTime(app.world)};
- puglShow(app.view, PUGL_SHOW_PASSIVE);
+ puglShow(app.view, PUGL_SHOW_RAISE);
while (!app.quit) {
puglUpdate(app.world, -1.0);