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:
parent
a2aa17278a
commit
116549b561
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user