Use the global curFrame counter. No need for a vector for pushing cmdbufs.

This commit is contained in:
Henrik Rydgård committed 2017-11-01 08:47:50 +01:00
1 parent 90d4296a6a
commit 6a8f72a327
10 files changed
+35 -45

No files matched your search

-1
View File
@@ -536,7 +536,6 @@ void VulkanQueueRunner::PerformBindFramebufferAsRenderTarget(const VKRStep &step
}
renderPass = renderPasses_[RPIndex(step.render.color, step.render.depthStencil)];
// VLOG("Switching framebuffer to FBO (fc=%d, cmd=%x, rp=%x)", frameNum_, (int)(uintptr_t)cmd_, (int)(uintptr_t)renderPass);
if (step.render.color == VKRRenderPassAction::CLEAR) {
Uint8x4ToFloat4(clearVal[0].color.float32, step.render.clearColor);
numClearVals = 1;