diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-29 09:26:55 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-12-02 10:24:00 +0100 |
commit | 8b9a48c9848644c008fe1f9e5902fe4246b322f1 (patch) | |
tree | d8a3d61693742ee079042ac545ced934a2c2e570 /include/render/vulkan.h | |
parent | c8eb24d30e18c165728b8788a10716611c3b633d (diff) |
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.
Diffstat (limited to 'include/render/vulkan.h')
-rw-r--r-- | include/render/vulkan.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; }; |