Code cleanup

This commit is contained in:
Sascha Willems 2020-04-20 20:29:15 +02:00
parent 9fc8b0032c
commit 458c149c71
13 changed files with 4 additions and 109 deletions

View file

@ -110,18 +110,6 @@ std::string VulkanExampleBase::getWindowTitle()
return windowTitle;
}
bool VulkanExampleBase::checkCommandBuffers()
{
for (auto& cmdBuffer : drawCmdBuffers)
{
if (cmdBuffer == VK_NULL_HANDLE)
{
return false;
}
}
return true;
}
void VulkanExampleBase::createCommandBuffers()
{
// Create one command buffer for each swap chain image and reuse for rendering