mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 16:10:50 +00:00
should have void instead of nothing
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@129 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -252,7 +252,7 @@
|
||||
<a href="#Mw_Vulkan_h__MwVulkanGetField">MwVulkanGetField</a>
|
||||
</dd>
|
||||
<dd>
|
||||
<a href="#Mw_Vulkan_h__MwVulkanSupported__">MwVulkanSupported()</a>
|
||||
<a href="#Mw_Vulkan_h__MwVulkanSupported">MwVulkanSupported</a>
|
||||
</dd>
|
||||
<dt>
|
||||
<a href="#Mw_Window_h">Mw/Window.h</a>
|
||||
@@ -1681,7 +1681,9 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre id="Mw_Vulkan_h__MwVulkanSupported__"><code>MWDECL VkBool32 MwVulkanSupported();</code></pre>
|
||||
<pre id="Mw_Vulkan_h__MwVulkanSupported"><code>MWDECL VkBool32 MwVulkanSupported (
|
||||
void
|
||||
);</code></pre>
|
||||
<dl>
|
||||
<dd>
|
||||
Return whether Vulkan is installed on the target platform.
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user