Fix the mutithread problem of deferred pipeline. (#3321)

This commit is contained in:
cary
2021-03-15 17:32:55 +08:00
committed by GitHub
parent c10d771fd2
commit cc7d347dbb
@@ -139,6 +139,7 @@ void DeferredPipeline::render(const vector<uint> &cameras) {
}
}
_commandBuffers[0]->end();
_device->flushCommands(_commandBuffers);
_device->getQueue()->submit(_commandBuffers);
}