diff options
author | David Robillard <d@drobilla.net> | 2021-01-02 21:40:40 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-02 21:40:40 +0100 |
commit | 416478739315ca41ad236197b25f87b83ab7f312 (patch) | |
tree | 93f69a2dad2ed23cd44d8dfc9c4b6f11b2b171b1 /include/pugl/vulkan.h | |
parent | d9efe12ed4e3abbbcf8b607a21559e17601b89d7 (diff) | |
download | pugl-416478739315ca41ad236197b25f87b83ab7f312.tar.gz pugl-416478739315ca41ad236197b25f87b83ab7f312.tar.bz2 pugl-416478739315ca41ad236197b25f87b83ab7f312.zip |
Add PUGL_CONST_API
Just a convenience macro to make declarations a little more readable.
Diffstat (limited to 'include/pugl/vulkan.h')
-rw-r--r-- | include/pugl/vulkan.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/pugl/vulkan.h b/include/pugl/vulkan.h index 8941510..f12ad97 100644 --- a/include/pugl/vulkan.h +++ b/include/pugl/vulkan.h @@ -143,8 +143,7 @@ puglCreateSurface(PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr, Pass the returned value to puglSetBackend() to draw to a view with Vulkan. */ -PUGL_API -PUGL_CONST_FUNC +PUGL_CONST_API const PuglBackend* puglVulkanBackend(void); |