Skip to content
This repository has been archived by the owner on Jul 2, 2019. It is now read-only.

Commit

Permalink
fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Oct 26, 2017
1 parent 6894a1e commit 6728ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SceneLoader/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void SceneLoadSample::setup(void)

// get a pointer to the already created root
Ogre::Root* root = getRoot();
Ogre::SceneManager* scnMgr = root->createSceneManager(Ogre::ST_GENERIC);
Ogre::SceneManager* scnMgr = root->createSceneManager("DefaultSceneManager");

// register our scene with the RTSS
Ogre::RTShader::ShaderGenerator* shadergen = Ogre::RTShader::ShaderGenerator::getSingletonPtr();
Expand Down

0 comments on commit 6728ddd

Please sign in to comment.