From 8b9a48c9848644c008fe1f9e5902fe4246b322f1 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 29 Nov 2022 09:26:55 +0100 Subject: render/vulkan: drop "_format" in wlr_vk_format fields "format" is already in the name, no need to repeat ourselves. `format->vk_format` sounds a bit redundant. --- include/render/vulkan.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/render') diff --git a/include/render/vulkan.h b/include/render/vulkan.h index 93e492cf..d5c8190e 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -79,8 +79,8 @@ int vulkan_find_mem_type(struct wlr_vk_device *device, VkMemoryPropertyFlags flags, uint32_t req_bits); struct wlr_vk_format { - uint32_t drm_format; - VkFormat vk_format; + uint32_t drm; + VkFormat vk; bool is_srgb; }; -- cgit v1.2.3