aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_vulkan_cpp_demo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_vulkan_cpp_demo.cpp')
-rw-r--r--examples/pugl_vulkan_cpp_demo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_vulkan_cpp_demo.cpp b/examples/pugl_vulkan_cpp_demo.cpp
index 1537920..7e652a5 100644
--- a/examples/pugl_vulkan_cpp_demo.cpp
+++ b/examples/pugl_vulkan_cpp_demo.cpp
@@ -1713,8 +1713,8 @@ run(const char* const programPath,
const auto height = static_cast<PuglSpan>(app.extent.height);
// Realize window so we can set up Vulkan
- app.world.setClassName("PuglVulkanCppDemo");
- app.view.setWindowTitle("Pugl Vulkan C++ Demo");
+ app.world.setString(pugl::StringHint::className, "PuglVulkanCppDemo");
+ app.view.setString(pugl::StringHint::windowTitle, "Pugl Vulkan C++ Demo");
app.view.setSizeHint(pugl::SizeHint::defaultSize, width, height);
app.view.setSizeHint(pugl::SizeHint::minSize, width / 4U, height / 4U);
app.view.setBackend(pugl::vulkanBackend());