From 116549b561c3b283efbe8b16e78db809d80cd169 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 16 Oct 2019 17:27:16 +1100 Subject: [PATCH] vulkan: use the provided VKAPI_ATTR for the debug callback Ensures that we get the calling convention correct for the platform we are using. --- gst-libs/gst/vulkan/gstvkinstance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/vulkan/gstvkinstance.c b/gst-libs/gst/vulkan/gstvkinstance.c index 4becf3d492..faeb4ae644 100644 --- a/gst-libs/gst/vulkan/gstvkinstance.c +++ b/gst-libs/gst/vulkan/gstvkinstance.c @@ -142,7 +142,7 @@ gst_vulkan_instance_finalize (GObject * object) G_OBJECT_CLASS (parent_class)->finalize (object); } -static VkBool32 +VKAPI_ATTR static VkBool32 _gst_vk_debug_callback (VkDebugReportFlagsEXT msgFlags, VkDebugReportObjectTypeEXT objType, uint64_t srcObject, size_t location, int32_t msgCode, const char *pLayerPrefix, const char *pMsg,