MeshLoader now uses VulkanDevice for creating buffers
This commit is contained in:
parent
3c944c2bd9
commit
8d7450dbf6
6 changed files with 51 additions and 97 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue