Safe exiting with CPU blocking
This commit is contained in:
@@ -19,6 +19,8 @@ namespace cve {
|
|||||||
glfwPollEvents();
|
glfwPollEvents();
|
||||||
drawFrame();
|
drawFrame();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vkDeviceWaitIdle(cveDevice.device());
|
||||||
}
|
}
|
||||||
void FirstApp::createPipelineLayout() {
|
void FirstApp::createPipelineLayout() {
|
||||||
VkPipelineLayoutCreateInfo pipelineLayoutInfo{};
|
VkPipelineLayoutCreateInfo pipelineLayoutInfo{};
|
||||||
|
|||||||
Reference in New Issue
Block a user