vulkan: use the provided VKAPI_ATTR for the debug callback

Ensures that we get the calling convention correct for the platform we
are using.
This commit is contained in:
Matthew Waters 2019-10-16 17:27:16 +11:00 committed by GStreamer Merge Bot
parent a2aa17278a
commit 116549b561

View file

@ -142,7 +142,7 @@ gst_vulkan_instance_finalize (GObject * object)
G_OBJECT_CLASS (parent_class)->finalize (object); G_OBJECT_CLASS (parent_class)->finalize (object);
} }
static VkBool32 VKAPI_ATTR static VkBool32
_gst_vk_debug_callback (VkDebugReportFlagsEXT msgFlags, _gst_vk_debug_callback (VkDebugReportFlagsEXT msgFlags,
VkDebugReportObjectTypeEXT objType, uint64_t srcObject, size_t location, VkDebugReportObjectTypeEXT objType, uint64_t srcObject, size_t location,
int32_t msgCode, const char *pLayerPrefix, const char *pMsg, int32_t msgCode, const char *pLayerPrefix, const char *pMsg,