fix vulkan handles
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
#define VK_VERSION_1_0
|
||||
typedef void PFN_vkGetInstanceProcAddr;
|
||||
typedef void VkInstance;
|
||||
typedef void VkInstance;
|
||||
typedef void VkPhysicalDevice;
|
||||
typedef void VkResult;
|
||||
typedef void VkInstance;
|
||||
typedef void VkAllocationCallbacks;
|
||||
typedef void VkSurfaceKHR;
|
||||
typedef void* PFN_vkGetInstanceProcAddr;
|
||||
typedef void* VkInstance;
|
||||
typedef void* VkPhysicalDevice;
|
||||
typedef int VkResult;
|
||||
typedef struct VkAllocationCallbacks VkAllocationCallbacks;
|
||||
typedef unsigned long long VkSurfaceKHR;
|
||||
|
||||
@@ -2431,7 +2431,7 @@ public function void Joystickfun(c_int jid, c_int event);
|
||||
*
|
||||
* @ingroup init
|
||||
*/
|
||||
[LinkName("glfwInitVulkanLoader")] public static extern void InitVulkanLoader(c_int loader);
|
||||
[LinkName("glfwInitVulkanLoader")] public static extern void InitVulkanLoader(PFN_vkGetInstanceProcAddr loader);
|
||||
|
||||
/*VK_VERSION_1_0*/
|
||||
|
||||
@@ -6496,7 +6496,7 @@ public function void Joystickfun(c_int jid, c_int event);
|
||||
*
|
||||
* @ingroup vulkan
|
||||
*/
|
||||
[LinkName("glfwGetInstanceProcAddress")] public static extern Vkproc GetInstanceProcAddress(c_int instance, c_char* procname);
|
||||
[LinkName("glfwGetInstanceProcAddress")] public static extern Vkproc GetInstanceProcAddress(VkInstance instance, c_char* procname);
|
||||
|
||||
/*! @brief Returns whether the specified queue family can present images.
|
||||
*
|
||||
@@ -6533,7 +6533,7 @@ public function void Joystickfun(c_int jid, c_int event);
|
||||
*
|
||||
* @ingroup vulkan
|
||||
*/
|
||||
[LinkName("glfwGetPhysicalDevicePresentationSupport")] public static extern Bool GetPhysicalDevicePresentationSupport(c_int instance, c_int device, uint32 queuefamily);
|
||||
[LinkName("glfwGetPhysicalDevicePresentationSupport")] public static extern Bool GetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32 queuefamily);
|
||||
|
||||
/*! @brief Creates a Vulkan surface for the specified window.
|
||||
*
|
||||
@@ -6603,7 +6603,7 @@ public function void Joystickfun(c_int jid, c_int event);
|
||||
*
|
||||
* @ingroup vulkan
|
||||
*/
|
||||
[LinkName("glfwCreateWindowSurface")] public static extern VkResult CreateWindowSurface(c_int instance, Window* window, VkAllocationCallbacks* allocator, out VkSurfaceKHR surface);
|
||||
[LinkName("glfwCreateWindowSurface")] public static extern VkResult CreateWindowSurface(VkInstance instance, Window* window, VkAllocationCallbacks* allocator, out VkSurfaceKHR surface);
|
||||
}
|
||||
|
||||
static
|
||||
|
||||
Reference in New Issue
Block a user