use WaitQueue instead WaitFence after teture upload.
This commit is contained in:
parent
8017e319c7
commit
a28e7c3eca
@ -314,7 +314,7 @@ bool Device::SubmitTexture(const VkCommandBuffer *cmd_bufs,const uint32_t count)
|
|||||||
return(false);
|
return(false);
|
||||||
|
|
||||||
textureSQ->Submit(cmd_bufs,count,nullptr,nullptr);
|
textureSQ->Submit(cmd_bufs,count,nullptr,nullptr);
|
||||||
textureSQ->WaitFence();
|
textureSQ->WaitQueue();
|
||||||
|
|
||||||
return(true);
|
return(true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user