From 9996d686e4dad6b496cc3136e9073aab87115a8a Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 14 Jun 2021 23:09:03 +0100 Subject: [PATCH] c/main: Tidy --- src/xrt/compositor/main/comp_renderer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c index d9a09cbb5..40712f47e 100644 --- a/src/xrt/compositor/main/comp_renderer.c +++ b/src/xrt/compositor/main/comp_renderer.c @@ -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) {