diff --git a/doc/index.html b/doc/index.html index 077dcf2..4c4667b 100644 --- a/doc/index.html +++ b/doc/index.html @@ -252,7 +252,7 @@ MwVulkanGetField
- MwVulkanSupported() + MwVulkanSupported
Mw/Window.h @@ -1681,7 +1681,9 @@
-
MWDECL VkBool32 MwVulkanSupported();
+
MWDECL VkBool32 MwVulkanSupported (
+	void
+);
Return whether Vulkan is installed on the target platform. diff --git a/include/Mw/Vulkan.h b/include/Mw/Vulkan.h index 8d6337b..57c7ba5 100644 --- a/include/Mw/Vulkan.h +++ b/include/Mw/Vulkan.h @@ -120,7 +120,7 @@ MWDECL void* MwVulkanGetField(MwWidget handle, MwVulkanField field, MwErrorEnum* /*! * %brief Return whether Vulkan is installed on the target platform. */ -MWDECL VkBool32 MwVulkanSupported(); +MWDECL VkBool32 MwVulkanSupported(void); #ifdef __cplusplus } diff --git a/src/widget/vulkan.c b/src/widget/vulkan.c index 5ad4000..971bec8 100644 --- a/src/widget/vulkan.c +++ b/src/widget/vulkan.c @@ -485,7 +485,7 @@ void* MwVulkanGetField(MwWidget handle, MwVulkanField field, MwErrorEnum* out) { } }; -VkBool32 MwVulkanSupported() { +VkBool32 MwVulkanSupported(void) { if(vulkan_supported == VULKAN_SUPPORTED_UNKNOWN) { LIB_TYPE lib = vulkan_lib_load(); if(lib == NULL) {