aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_vulkan_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_vulkan_demo.c')
-rw-r--r--examples/pugl_vulkan_demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_vulkan_demo.c b/examples/pugl_vulkan_demo.c
index 3f684fe..c609d10 100644
--- a/examples/pugl_vulkan_demo.c
+++ b/examples/pugl_vulkan_demo.c
@@ -893,7 +893,7 @@ destroyWorld(VulkanApp* const app)
closeDevice(vk);
if (app->view) {
- puglHideWindow(app->view);
+ puglHide(app->view);
puglFreeView(app->view);
app->view = NULL;
}
@@ -1123,7 +1123,7 @@ main(int argc, char** argv)
printf("Swapchain images: %u\n", app.vk.swapchain->nImages);
PuglFpsPrinter fpsPrinter = {puglGetTime(app.world)};
- puglShowWindow(app.view);
+ puglShow(app.view);
while (!app.quit) {
puglUpdate(app.world, -1.0);