c/main: Tidy

This commit is contained in:
Jakob Bornecrantz 2021-06-14 23:09:03 +01:00 committed by Jakob Bornecrantz
parent 1eebc12780
commit 9996d686e4

View file

@ -608,6 +608,7 @@ renderer_acquire_swapchain_image(struct comp_renderer *r)
"re-create image and renderings failed. Probably the target disappeared.");
return;
}
/* Acquire image again to silence validation error */
ret = comp_target_acquire(r->c->target, r->semaphores.present_complete, &buffer_index);
if (ret != VK_SUCCESS) {