Skip to content

Commit

Permalink
Fix MeshLod demo crash
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Aug 30, 2021
1 parent f5c723b commit f778e8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Samples/2.0/ApiUsage/MeshLod/MeshLodGameState.cpp
Expand Up @@ -125,7 +125,8 @@ namespace Demo

// Load V1 mesh
Ogre::v1::MeshPtr meshV1 = Ogre::v1::MeshManager::getSingleton().load(
"Sinbad.mesh", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME );
"Sinbad.mesh", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,
Ogre::v1::HardwareBuffer::HBU_STATIC, Ogre::v1::HardwareBuffer::HBU_STATIC );

// Generate LOD levels
Ogre::LodConfig lodConfig;
Expand Down

0 comments on commit f778e8e

Please sign in to comment.