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

@ -467,16 +467,6 @@ public:
textures.background.normalMap.loadFromFile(getAssetPath() + "textures/stonefloor02_normal" + texFormatSuffix + ".ktx", texFormat, vulkanDevice, queue);
}
void reBuildCommandBuffers()
{
if (!checkCommandBuffers())
{
destroyCommandBuffers();
createCommandBuffers();
}
buildCommandBuffers();
}
void buildCommandBuffers()
{
VkCommandBufferBeginInfo cmdBufInfo = vks::initializers::commandBufferBeginInfo();