fix vulkan handles
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
#define VK_VERSION_1_0
|
#define VK_VERSION_1_0
|
||||||
typedef void PFN_vkGetInstanceProcAddr;
|
typedef void* PFN_vkGetInstanceProcAddr;
|
||||||
typedef void VkInstance;
|
typedef void* VkInstance;
|
||||||
typedef void VkInstance;
|
typedef void* VkPhysicalDevice;
|
||||||
typedef void VkPhysicalDevice;
|
typedef int VkResult;
|
||||||
typedef void VkResult;
|
typedef struct VkAllocationCallbacks VkAllocationCallbacks;
|
||||||
typedef void VkInstance;
|
typedef unsigned long long VkSurfaceKHR;
|
||||||
typedef void VkAllocationCallbacks;
|
|
||||||
typedef void VkSurfaceKHR;
|
|
||||||
|
|||||||
@@ -2431,7 +2431,7 @@ public function void Joystickfun(c_int jid, c_int event);
|
|||||||
*
|
*
|
||||||
* @ingroup init
|
* @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*/
|
/*VK_VERSION_1_0*/
|
||||||
|
|
||||||
@@ -6496,7 +6496,7 @@ public function void Joystickfun(c_int jid, c_int event);
|
|||||||
*
|
*
|
||||||
* @ingroup vulkan
|
* @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.
|
/*! @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
|
* @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.
|
/*! @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
|
* @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
|
static
|
||||||
|
|||||||
Reference in New Issue
Block a user