From 36bae2b79217406d2b307ac4c3ddd11812ab5683 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 8 May 2020 13:38:45 +0100 Subject: [PATCH] Mark secondaries as submitted so we don't leak secondary command buffers --- util/test/demos/vk/vk_pixel_history_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/test/demos/vk/vk_pixel_history_test.cpp b/util/test/demos/vk/vk_pixel_history_test.cpp index c47526cf5..425d9b116 100644 --- a/util/test/demos/vk/vk_pixel_history_test.cpp +++ b/util/test/demos/vk/vk_pixel_history_test.cpp @@ -461,7 +461,7 @@ void main() FinishUsingBackbuffer(cmd, VK_ACCESS_TRANSFER_WRITE_BIT, VK_IMAGE_LAYOUT_GENERAL); vkEndCommandBuffer(cmd); - Submit(0, 1, {cmd}); + Submit(0, 1, {cmd}, secondaries); Present(); }