aboutsummaryrefslogtreecommitdiff
path: root/render/vulkan/pixel_format.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-05-22 13:40:35 +0200
committerSimon Ser <contact@emersion.fr>2023-05-22 18:53:15 +0200
commitd7bebb0a4c029dd0e3033dc391b39a93f71378f5 (patch)
tree263b4e7fd06845c5d424d19f163cebe04292b698 /render/vulkan/pixel_format.c
parent17b10746b44e847e6f6b55d5f9d40d536d10c96c (diff)
render/vulkan: drop unnecessary comments
Some comments in here are noise.
Diffstat (limited to 'render/vulkan/pixel_format.c')
-rw-r--r--render/vulkan/pixel_format.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/render/vulkan/pixel_format.c b/render/vulkan/pixel_format.c
index 02442e39..2239c9d5 100644
--- a/render/vulkan/pixel_format.c
+++ b/render/vulkan/pixel_format.c
@@ -263,9 +263,6 @@ static bool query_modifier_support(struct wlr_vk_device *dev,
.pNext = &modp,
};
- // the first call to vkGetPhysicalDeviceFormatProperties2 did only
- // retrieve the number of modifiers, we now have to retrieve
- // the modifiers
modp.pDrmFormatModifierProperties =
calloc(modifier_count, sizeof(*modp.pDrmFormatModifierProperties));
if (!modp.pDrmFormatModifierProperties) {