Changeset 10295 for code/trunk/src/libraries/core/GraphicsManager.cc
- Timestamp:
- Mar 1, 2015, 9:59:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/GraphicsManager.cc
r10268 r10295 267 267 # endif 268 268 } 269 #endif270 271 #ifdef ORXONOX_PLATFORM_WINDOWS272 // Add OGRE plugin path to the environment. That way one plugin could273 // also depend on another without problems on Windows274 const char* currentPATH = getenv("PATH");275 std::string newPATH = pluginPath;276 if (currentPATH != NULL)277 newPATH = std::string(currentPATH) + ';' + newPATH;278 putenv(const_cast<char*>(("PATH=" + newPATH).c_str()));279 269 #endif 280 270
Note: See TracChangeset
for help on using the changeset viewer.