Safe exiting with CPU blocking

This commit is contained in:
2026-02-20 12:04:27 +00:00
parent 0305dc32be
commit 5833cc1f22
2 changed files with 2 additions and 0 deletions

BIN
a.out

Binary file not shown.

View File

@@ -19,6 +19,8 @@ namespace cve {
glfwPollEvents(); glfwPollEvents();
drawFrame(); drawFrame();
} }
vkDeviceWaitIdle(cveDevice.device());
} }
void FirstApp::createPipelineLayout() { void FirstApp::createPipelineLayout() {
VkPipelineLayoutCreateInfo pipelineLayoutInfo{}; VkPipelineLayoutCreateInfo pipelineLayoutInfo{};