aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_vulkan_cxx_demo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_vulkan_cxx_demo.cpp')
-rw-r--r--examples/pugl_vulkan_cxx_demo.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/pugl_vulkan_cxx_demo.cpp b/examples/pugl_vulkan_cxx_demo.cpp
index b4e04ef..154bbaf 100644
--- a/examples/pugl_vulkan_cxx_demo.cpp
+++ b/examples/pugl_vulkan_cxx_demo.cpp
@@ -1385,7 +1385,11 @@ public:
setEventHandler(*this);
}
- using pugl::View::onEvent;
+ template<PuglEventType t, class Base>
+ pugl::Status onEvent(const pugl::Event<t, Base>&) noexcept
+ {
+ return pugl::Status::success;
+ }
pugl::Status onEvent(const pugl::ConfigureEvent& event);
pugl::Status onEvent(const pugl::UpdateEvent& event);