aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-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 01ac6c7a..b4c40070 100644
--- a/render/vulkan/pixel_format.c
+++ b/render/vulkan/pixel_format.c
@@ -297,7 +297,7 @@ void vulkan_format_props_query(struct wlr_vk_device *dev,
dev->format_props[dev->format_prop_count] = props;
++dev->format_prop_count;
} else {
- vulkan_format_props_finish(props);
+ vulkan_format_props_finish(&props);
}
}