From bb8882772bd5a00c6dfd4e33ec005d333f277898 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Sat, 23 Apr 2022 08:10:33 +0200 Subject: remove static keyword from fixed array params for timeline semaphore 2 --- src/vkhelpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vkhelpers.c b/src/vkhelpers.c index 4f9a170..e110015 100644 --- a/src/vkhelpers.c +++ b/src/vkhelpers.c @@ -95,7 +95,7 @@ void vkh_cmd_submit_timelined (VkhQueue queue, VkCommandBuffer *pCmdBuff, VkSema VK_CHECK_RESULT(vkQueueSubmit(queue->queue, 1, &submitInfo, VK_NULL_HANDLE)); } -void vkh_cmd_submit_timelined2 (VkhQueue queue, VkCommandBuffer *pCmdBuff, VkSemaphore timelines[static 2], const uint64_t waits[static 2], const uint64_t signals[static 2]) { +void vkh_cmd_submit_timelined2 (VkhQueue queue, VkCommandBuffer *pCmdBuff, VkSemaphore timelines[2], const uint64_t waits[2], const uint64_t signals[2]) { static VkPipelineStageFlags stageFlags = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT; VkTimelineSemaphoreSubmitInfo timelineInfo; timelineInfo.sType = VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO; -- cgit v1.3.1-4-g156e