Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 4, 2009, 11:05:17 PM (15 years ago)
Author:
rgrieder
Message:

Fixed an issue that could occur when singletons associated with ScopeID::Graphics (indirectly) asked for GameMode::showsGraphics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/libraries/core/Core.cc

    r5869 r5875  
    293293            inputManager_->getMousePosition(), graphicsManager_->isFullScreen()));
    294294
     295        bGraphicsLoaded_ = true;
     296        GameMode::bShowsGraphics_s = true;
     297
    295298        // Create singletons associated with graphics (in other libraries)
    296299        graphicsScope_.reset(new Scope<ScopeID::Graphics>());
    297300
    298301        unloader.Dismiss();
    299 
    300         bGraphicsLoaded_ = true;
    301302    }
    302303
     
    320321
    321322        bGraphicsLoaded_ = false;
     323        GameMode::bShowsGraphics_s = false;
    322324    }
    323325
Note: See TracChangeset for help on using the changeset viewer.