This commit is contained in:
2026-07-11 02:52:35 +01:00
parent 1c7a7f6c46
commit c8680f06c2
2 changed files with 9 additions and 18 deletions
+1 -1
View File
@@ -1210,7 +1210,7 @@ PrRhiTexture *prRhiCreateTextureFromKtxVk(PrRhiDevice *device, const char *path,
vkEndCommandBuffer(vk_cb);
// Submit and wait
PrRhiFenceDesc fence_desc = { .signaled = VK_TRUE };
PrRhiFenceDesc fence_desc = { .signaled = false };
PrRhiFence *fence = prRhiCreateFenceVk(device, fence_desc, allocator);
prRhiQueueSubmitVk(device, cb, NULL, NULL, fence);
prRhiWaitForFencesVk(device, &(PrRhiFence *){ fence }, 1, VK_TRUE, UINT64_MAX);