Removed old texture loader class [skip CI]

This commit is contained in:
saschawillems 2017-02-09 21:51:10 +01:00
parent 20ed54bbb6
commit 83ad186ce5
4 changed files with 3 additions and 1093 deletions

View file

@ -173,8 +173,7 @@ void VulkanExampleBase::prepare()
setupRenderPass();
createPipelineCache();
setupFrameBuffer();
// Create a simple texture loader class
textureLoader = new vkTools::VulkanTextureLoader(vulkanDevice, queue, cmdPool);
if (enableTextOverlay)
{
// Load the text rendering shaders
@ -702,11 +701,6 @@ VulkanExampleBase::~VulkanExampleBase()
vkDestroyPipelineCache(device, pipelineCache, nullptr);
if (textureLoader)
{
delete textureLoader;
}
vkDestroyCommandPool(device, cmdPool, nullptr);
vkDestroySemaphore(device, semaphores.presentComplete, nullptr);