Skip to content

Commit

Permalink
[macOS] remove additional plugin path for macOS
Browse files Browse the repository at this point in the history
- Remove additional plugin path for macOS.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
  • Loading branch information
srmainwaring committed Sep 3, 2021
1 parent c96f5fb commit 69e7438
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ogre2/src/Ogre2RenderEngine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ Ogre2RenderEngine::Ogre2RenderEngine() :
const char *env = std::getenv("OGRE2_RESOURCE_PATH");
if (env)
this->ogrePaths.push_back(std::string(env));

#ifdef __APPLE__
// on OSX the plugins may be placed in the parent lib directory
// if (ogrePath.rfind("OGRE") == ogrePath.size()-4u)
// this->ogrePaths.push_back(ogrePath.substr(0, ogrePath.size()-5));
#endif
}

//////////////////////////////////////////////////
Expand Down

0 comments on commit 69e7438

Please sign in to comment.