aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cxx/include/pugl/vulkan.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-31 13:00:53 +0100
committerDavid Robillard <d@drobilla.net>2020-10-31 13:00:53 +0100
commitf7cce780cd6a83fca9413abeafb32246999f4b99 (patch)
tree5f972ff9cc4822548b031c78ca9cc540890eb9a5 /bindings/cxx/include/pugl/vulkan.hpp
parent71312135e580b247d500070ea699462a6f3c26eb (diff)
downloadpugl-f7cce780cd6a83fca9413abeafb32246999f4b99.tar.gz
pugl-f7cce780cd6a83fca9413abeafb32246999f4b99.tar.bz2
pugl-f7cce780cd6a83fca9413abeafb32246999f4b99.zip
Use static polymorphism in C++ bindings
This removes virtual function overhead, and the weird situation of having to include pugl.ipp once (or worse, for pugl to provide a binary C++ library).
Diffstat (limited to 'bindings/cxx/include/pugl/vulkan.hpp')
-rw-r--r--bindings/cxx/include/pugl/vulkan.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/cxx/include/pugl/vulkan.hpp b/bindings/cxx/include/pugl/vulkan.hpp
index a7b16cb..f9737e8 100644
--- a/bindings/cxx/include/pugl/vulkan.hpp
+++ b/bindings/cxx/include/pugl/vulkan.hpp
@@ -143,7 +143,7 @@ getInstanceExtensions() noexcept
/// @copydoc puglCreateSurface
inline VkResult
createSurface(const VulkanLoader& loader,
- View& view,
+ ViewBase& view,
VkInstance instance,
const VkAllocationCallbacks* const allocator,
VkSurfaceKHR* const surface) noexcept