vulkan: Mark gst_vulkan_image_view_new create_info as constant pointer
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1615>
This commit is contained in:
parent
3d081c45be
commit
31c23fb6c0
@ -96,7 +96,7 @@ gst_vulkan_image_view_free (GstVulkanImageView * view)
|
||||
*/
|
||||
GstVulkanImageView *
|
||||
gst_vulkan_image_view_new (GstVulkanImageMemory * image,
|
||||
VkImageViewCreateInfo * create_info)
|
||||
const VkImageViewCreateInfo * create_info)
|
||||
{
|
||||
GstVulkanImageView *view;
|
||||
GError *error = NULL;
|
||||
|
@ -121,7 +121,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVulkanImageView, gst_vulkan_image_view_unref)
|
||||
|
||||
GST_VULKAN_API
|
||||
GstVulkanImageView * gst_vulkan_image_view_new (GstVulkanImageMemory * image,
|
||||
VkImageViewCreateInfo * create_info);
|
||||
const VkImageViewCreateInfo * create_info);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user