From a28e7c3eca205444c784a2504e084f4a7b55f598 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sun, 18 Oct 2020 18:01:24 +0800 Subject: [PATCH] use WaitQueue instead WaitFence after teture upload. --- src/RenderDevice/Vulkan/VKDeviceTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RenderDevice/Vulkan/VKDeviceTexture.cpp b/src/RenderDevice/Vulkan/VKDeviceTexture.cpp index d42e9c88..161dd2f3 100644 --- a/src/RenderDevice/Vulkan/VKDeviceTexture.cpp +++ b/src/RenderDevice/Vulkan/VKDeviceTexture.cpp @@ -314,7 +314,7 @@ bool Device::SubmitTexture(const VkCommandBuffer *cmd_bufs,const uint32_t count) return(false); textureSQ->Submit(cmd_bufs,count,nullptr,nullptr); - textureSQ->WaitFence(); + textureSQ->WaitQueue(); return(true); }