- Timestamp:
- Aug 7, 2011, 10:51:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/core/GraphicsManager.cc
r8820 r8830 104 104 RegisterObject(GraphicsManager); 105 105 106 orxout(internal_status) << "initializing GraphicsManager..." << endl; 106 107 this->setConfigValues(); 107 108 … … 129 130 this->upgradeToGraphics(); 130 131 } 132 133 orxout(internal_status) << "finished initializing GraphicsManager" << endl; 131 134 } 132 135 133 136 void GraphicsManager::destroy() 134 137 { 138 orxout(internal_status) << "destroying GraphicsManager..." << endl; 139 135 140 Loader::unload(debugOverlay_.get()); 136 141 … … 148 153 safeObjectDelete(&ogreLogger_); 149 154 safeObjectDelete(&ogreWindowEventListener_); 155 156 orxout(internal_status) << "finished destroying GraphicsManager" << endl; 150 157 } 151 158 … … 173 180 return; 174 181 182 orxout(internal_info) << "GraphicsManager upgrade to graphics" << endl; 183 175 184 // load all the required plugins for Ogre 176 185 this->loadOgrePlugins(); … … 183 192 // choose another resource group. 184 193 Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups(); 194 195 orxout(internal_info) << "GraphicsManager finished upgrade to graphics" << endl; 185 196 } 186 197 … … 239 250 void GraphicsManager::loadOgrePlugins() 240 251 { 252 orxout(internal_info) << "loading ogre plugins" << endl; 253 241 254 // Plugin path can have many different locations... 242 255 std::string pluginPath = specialConfig::ogrePluginsDirectory;
Note: See TracChangeset
for help on using the changeset viewer.