mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
c/main: Tidy
This commit is contained in:
parent
1eebc12780
commit
9996d686e4
|
@ -608,6 +608,7 @@ renderer_acquire_swapchain_image(struct comp_renderer *r)
|
||||||
"re-create image and renderings failed. Probably the target disappeared.");
|
"re-create image and renderings failed. Probably the target disappeared.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Acquire image again to silence validation error */
|
/* Acquire image again to silence validation error */
|
||||||
ret = comp_target_acquire(r->c->target, r->semaphores.present_complete, &buffer_index);
|
ret = comp_target_acquire(r->c->target, r->semaphores.present_complete, &buffer_index);
|
||||||
if (ret != VK_SUCCESS) {
|
if (ret != VK_SUCCESS) {
|
||||||
|
|
Loading…
Reference in a new issue