VKDevice建立独立的texture提交专用fence,以避免和绘图用冲突

This commit is contained in:
2019-05-20 13:50:11 +08:00
parent 476a60b99e
commit 5c913dd792
4 changed files with 34 additions and 8 deletions

View File

@@ -81,7 +81,7 @@ public:
void Submit(const VkCommandBuffer cmd_buf)
{
device->QueueSubmit(&cmd_buf);
device->SubmitDraw(&cmd_buf);
device->Wait();
device->QueuePresent();
}