mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 20:53:50 +00:00
try to load plugins from relative paths
This commit is contained in:
parent
b728a919a2
commit
4346e3b4d0
1 changed files with 0 additions and 5 deletions
|
@ -188,11 +188,6 @@ namespace OgreInit
|
||||||
pluginDir = OGRE_PLUGIN_DIR_REL;
|
pluginDir = OGRE_PLUGIN_DIR_REL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::filesystem::path absPluginPath = boost::filesystem::absolute(boost::filesystem::path(pluginDir));
|
|
||||||
|
|
||||||
pluginDir = absPluginPath.string();
|
|
||||||
|
|
||||||
Files::loadOgrePlugin(pluginDir, "RenderSystem_GL", *mRoot);
|
Files::loadOgrePlugin(pluginDir, "RenderSystem_GL", *mRoot);
|
||||||
Files::loadOgrePlugin(pluginDir, "RenderSystem_GLES2", *mRoot);
|
Files::loadOgrePlugin(pluginDir, "RenderSystem_GLES2", *mRoot);
|
||||||
Files::loadOgrePlugin(pluginDir, "RenderSystem_GL3Plus", *mRoot);
|
Files::loadOgrePlugin(pluginDir, "RenderSystem_GL3Plus", *mRoot);
|
||||||
|
|
Loading…
Reference in a new issue