diff options
Diffstat (limited to 'render/vulkan')
-rw-r--r-- | render/vulkan/pixel_format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/render/vulkan/pixel_format.c b/render/vulkan/pixel_format.c index cfab5ffe..01ac6c7a 100644 --- a/render/vulkan/pixel_format.c +++ b/render/vulkan/pixel_format.c @@ -296,6 +296,8 @@ void vulkan_format_props_query(struct wlr_vk_device *dev, if (add_fmt_props) { dev->format_props[dev->format_prop_count] = props; ++dev->format_prop_count; + } else { + vulkan_format_props_finish(props); } } |