aboutsummaryrefslogtreecommitdiff
path: root/render/vulkan/pixel_format.c
diff options
context:
space:
mode:
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) {