Fix __VA_OPT__ macro invocations

This commit is contained in:
Kirill Primak 2024-06-30 09:01:15 +03:00
parent 65e6579c56
commit 67b88e46b0
2 changed files with 2 additions and 2 deletions

View file

@ -518,7 +518,7 @@ void vulkan_change_layout(VkCommandBuffer cb, VkImage img,
#if __STDC_VERSION__ >= 202311L
#define wlr_vk_error(fmt, res, ...) wlr_log(WLR_ERROR, fmt ": %s (%d)", \
vulkan_strerror(res), res __VA_OPT(,) __VA_ARGS__)
vulkan_strerror(res), res __VA_OPT__(,) __VA_ARGS__)
#else