aboutsummaryrefslogtreecommitdiff
path: root/render/vulkan
diff options
context:
space:
mode:
Diffstat (limited to 'render/vulkan')
-rw-r--r--render/vulkan/pixel_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/vulkan/pixel_format.c b/render/vulkan/pixel_format.c
index 3dd9c4d3..0568c023 100644
--- a/render/vulkan/pixel_format.c
+++ b/render/vulkan/pixel_format.c
@@ -569,7 +569,7 @@ void vulkan_format_props_finish(struct wlr_vk_format_props *props) {
}
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) {
uint32_t len;
const struct wlr_vk_format_modifier_props *mods;
if (render) {