Compare commits

...

2 Commits

Author SHA1 Message Date
Rune
d057669dd0 Merge branch 'main' of https://git.unicon-gmbh.de/BeefBindings/Glfw 2026-03-29 17:58:42 +02:00
Rune
80517e0092 fix vulkan handles 2026-03-29 17:58:30 +02:00
2 changed files with 10 additions and 12 deletions

View File

@@ -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;

View File

@@ -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