mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue