summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-03-23 21:40:56 +1100
committeromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-03-23 21:40:56 +1100
commitb1e9a0f5e8731226d6dde11a5aabe002fa1a6a7d (patch)
treea437f00befcad5684b602b272867510f96fc1077
parent411992fad179c4e45d044cd3dab86dc460ce15ac (diff)
fix vulkan debug callback
-rw-r--r--src/renderer/backends/vulkan_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/backends/vulkan_helpers.h b/src/renderer/backends/vulkan_helpers.h
index 8f4d48a..3465aed 100644
--- a/src/renderer/backends/vulkan_helpers.h
+++ b/src/renderer/backends/vulkan_helpers.h
@@ -55,7 +55,7 @@ typedef struct vulkan_swapchain_support_info {
VKAPI_ATTR VkBool32 VKAPI_CALL vk_debug_callback(
VkDebugUtilsMessageSeverityFlagBitsEXT severity, VkDebugUtilsMessageTypeFlagsEXT flags,
- const VkDebugUtilsMessengerCallbackDataEXT callback_data, void* user_data);
+ const VkDebugUtilsMessengerCallbackDataEXT* callback_data, void* user_data);
void vulkan_device_query_swapchain_support(VkPhysicalDevice device, VkSurfaceKHR surface,
vulkan_swapchain_support_info* out_support_info) {