MeshLoader now uses VulkanDevice for creating buffers

This commit is contained in:
saschawillems 2016-07-16 19:14:11 +02:00
parent 3c944c2bd9
commit 8d7450dbf6
6 changed files with 51 additions and 97 deletions

View file

@ -175,7 +175,7 @@ public:
// The other example will use the VulkanMesh loader which has some additional functionality for loading meshes
void loadMesh()
{
VulkanMeshLoader *meshLoader = new VulkanMeshLoader();
VulkanMeshLoader *meshLoader = new VulkanMeshLoader(&vulkanDevice);
#if defined(__ANDROID__)
meshLoader->assetManager = androidApp->activity->assetManager;
#endif