From 566c413d8ff70f075a7481035605ec710d610f45 Mon Sep 17 00:00:00 2001 From: Manuel Stoeckl Date: Sat, 21 Oct 2023 21:40:11 -0400 Subject: render/vulkan: constify vulkan_format_props_find_modifier --- include/render/vulkan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/render') diff --git a/include/render/vulkan.h b/include/render/vulkan.h index c0ba9b20..2794f340 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -125,7 +125,7 @@ struct wlr_vk_format_props { void vulkan_format_props_query(struct wlr_vk_device *dev, const struct wlr_vk_format *format); const struct wlr_vk_format_modifier_props *vulkan_format_props_find_modifier( - struct wlr_vk_format_props *props, uint64_t mod, bool render); + const struct wlr_vk_format_props *props, uint64_t mod, bool render); void vulkan_format_props_finish(struct wlr_vk_format_props *props); struct wlr_vk_pipeline_layout_key { -- cgit v1.2.3