aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-29 10:19:10 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-12-02 15:18:59 +0000
commitdb9d277614aa8fb84871cd01f2233ecd6e4f5ef2 (patch)
tree3a5abe75d03dc70403d74792b628cc4aad715602 /include/render
parentb4ad4671dc9a2136bebff279c4b15879dad9b795 (diff)
render/vulkan: make vulkan_format_props_find_modifier() return value const
Diffstat (limited to 'include/render')
-rw-r--r--include/render/vulkan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/render/vulkan.h b/include/render/vulkan.h
index d5c8190e..931e5e5f 100644
--- a/include/render/vulkan.h
+++ b/include/render/vulkan.h
@@ -108,7 +108,7 @@ struct wlr_vk_format_props {
void vulkan_format_props_query(struct wlr_vk_device *dev,
const struct wlr_vk_format *format);
-struct wlr_vk_format_modifier_props *vulkan_format_props_find_modifier(
+const struct wlr_vk_format_modifier_props *vulkan_format_props_find_modifier(
struct wlr_vk_format_props *props, uint64_t mod, bool render);
void vulkan_format_props_finish(struct wlr_vk_format_props *props);