TextureLoader now uses VulkanDevice, refactoring, default parameters, documentation
This commit is contained in:
parent
6a9bd4fc55
commit
2889bea4e9
2 changed files with 148 additions and 135 deletions
|
|
@ -225,7 +225,7 @@ void VulkanExampleBase::prepare()
|
|||
// Recreate setup command buffer for derived class
|
||||
createSetupCommandBuffer();
|
||||
// Create a simple texture loader class
|
||||
textureLoader = new vkTools::VulkanTextureLoader(physicalDevice, device, queue, cmdPool);
|
||||
textureLoader = new vkTools::VulkanTextureLoader(vulkanDevice, queue, cmdPool);
|
||||
#if defined(__ANDROID__)
|
||||
textureLoader->assetManager = androidApp->activity->assetManager;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue