diff --git a/ogre/src/OgreRenderEngine.cc b/ogre/src/OgreRenderEngine.cc index cb034aeac..e26c36e1d 100644 --- a/ogre/src/OgreRenderEngine.cc +++ b/ogre/src/OgreRenderEngine.cc @@ -425,20 +425,17 @@ void OgreRenderEngine::LoadPlugins() std::vector::iterator piter; #ifdef __APPLE__ - std::string prefix = "lib"; std::string extension = ".dylib"; #elif _WIN32 - std::string prefix = ""; std::string extension = ".dll"; #else - std::string prefix = ""; std::string extension = ".so"; #endif - plugins.push_back(path+"/"+prefix+"RenderSystem_GL"); - plugins.push_back(path+"/"+prefix+"Plugin_ParticleFX"); - plugins.push_back(path+"/"+prefix+"Plugin_BSPSceneManager"); - plugins.push_back(path+"/"+prefix+"Plugin_OctreeSceneManager"); + plugins.push_back(path+"/RenderSystem_GL"); + plugins.push_back(path+"/Plugin_ParticleFX"); + plugins.push_back(path+"/Plugin_BSPSceneManager"); + plugins.push_back(path+"/Plugin_OctreeSceneManager"); #ifdef HAVE_OCULUS plugins.push_back(path+"/Plugin_CgProgramManager");