Skip to content

Commit

Permalink
vk: ci: please the flatpak compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
w23 committed Feb 5, 2025
1 parent ad4201b commit d8db8d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ref/vk/vk_meatpipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static qboolean readBindings(load_context_t *ctx, VkDescriptorSetLayoutBinding *
goto finalize;
}

pass->resource_map = Mem_Malloc(vk_core.pool, sizeof(pass->resource_map[0]) * count);
pass->resource_map = count ? Mem_Malloc(vk_core.pool, sizeof(pass->resource_map[0]) * count) : NULL;

for (int i = 0; i < count; ++i) {
const uint32_t header = READ_U32("Couldn't read header for binding %d", i);
Expand Down

0 comments on commit d8db8d0

Please sign in to comment.