Removed old texture loader class [skip CI]
This commit is contained in:
parent
20ed54bbb6
commit
83ad186ce5
4 changed files with 3 additions and 1093 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue