Skip to content

Commit

Permalink
Demo: simplify plugin installation
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Jan 8, 2018
1 parent 3f0a035 commit 8728d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Samples/ParticleUniverseDemo/include/ParticleUniverseDemo.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <OgreApplicationContext.h>
#include <OgreCameraMan.h>

#include "ParticleUniversePlugin.h"

using namespace Ogre;

Expand All @@ -27,7 +28,7 @@ class Sample_ParticleUniverseDemo : public OgreBites::ApplicationContext, public

void createRoot() {
OgreBites::ApplicationContext::createRoot();
getRoot()->loadPlugin("./Plugin_ParticleUniverse");
getRoot()->installPlugin(new ParticleUniverse::ParticleUniversePlugin);
}

void setupInput(bool) {}
Expand Down

0 comments on commit 8728d3f

Please sign in to comment.