diff --git a/a.out b/a.out index eb167c7..76a5670 100755 Binary files a/a.out and b/a.out differ diff --git a/first_app.cpp b/first_app.cpp index e6e9177..3b7cffe 100644 --- a/first_app.cpp +++ b/first_app.cpp @@ -19,6 +19,8 @@ namespace cve { glfwPollEvents(); drawFrame(); } + + vkDeviceWaitIdle(cveDevice.device()); } void FirstApp::createPipelineLayout() { VkPipelineLayoutCreateInfo pipelineLayoutInfo{};