Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6075 for code/trunk


Ignore:
Timestamp:
Nov 16, 2009, 11:29:59 AM (15 years ago)
Author:
rgrieder
Message:

Ogre plugins are only required when having graphics. This should speed up the dedicated startup quite a bit (at least on Windows).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/GraphicsManager.cc

    r5929 r6075  
    9898        // Ogre setup procedure (creating Ogre::Root)
    9999        this->loadOgreRoot();
    100         // load all the required plugins for Ogre
    101         this->loadOgrePlugins();
    102100
    103101        // At first, add the root paths of the data directories as resource locations
     
    171169        if (renderWindow_ != NULL)
    172170            return;
     171
     172        // load all the required plugins for Ogre
     173        this->loadOgrePlugins();
    173174
    174175        this->loadRenderer();
Note: See TracChangeset for help on using the changeset viewer.