- Timestamp:
- Apr 21, 2011, 6:58:23 PM (14 years ago)
- Location:
- code/branches/kicklib2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2
- Property svn:mergeinfo changed
-
code/branches/kicklib2/src/libraries/core/GraphicsManager.cc
r8283 r8284 260 260 // Use backslash paths on Windows! file_string() already does that though. 261 261 for (unsigned int i = 0; i < plugins.size(); ++i) 262 #if BOOST_FILESYSTEM_VERSION < 3 262 263 ogreRoot_->loadPlugin((folder / plugins[i]).file_string()); 264 #else 265 ogreRoot_->loadPlugin((folder / plugins[i]).string()); 266 #endif 263 267 } 264 268 … … 286 290 287 291 Ogre::WindowEventUtilities::addWindowEventListener(this->renderWindow_, ogreWindowEventListener_.get()); 292 293 // HACK 294 #ifdef ORXONOX_PLATFORM_APPLE 295 //INFO: This will give our window focus, and not lock it to the terminal 296 ProcessSerialNumber psn = {0, kCurrentProcess}; 297 TransformProcessType(&psn, kProcessTransformToForegroundApplication); 298 SetFrontProcess(&psn); 299 #endif 300 // End of HACK 288 301 289 302 // create a full screen default viewport
Note: See TracChangeset
for help on using the changeset viewer.