- Timestamp:
- Nov 24, 2010, 2:39:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/src/libraries/core/GraphicsManager.cc
r7284 r7660 314 314 315 315 Ogre::WindowEventUtilities::addWindowEventListener(this->renderWindow_, ogreWindowEventListener_.get()); 316 316 317 // HACK 318 #ifdef __APPLE_CC__ 319 //INFO: This will give our window focus, and not lock it to the terminal 320 ProcessSerialNumber psn = {0, kCurrentProcess}; 321 TransformProcessType(&psn, kProcessTransformToForegroundApplication); 322 SetFrontProcess(&psn); 323 #endif 324 // End of HACK 325 317 326 // create a full screen default viewport 318 327 // Note: This may throw when adding a viewport with an existing z-order!
Note: See TracChangeset
for help on using the changeset viewer.