Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3619 in orxonox.OLD for orxonox/trunk/src/orxonox.cc


Ignore:
Timestamp:
Mar 21, 2005, 4:33:03 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: added a Function to resize the Window, but it does not work :( GL does not update with SDL together

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r3613 r3619  
    213213{
    214214  // Handle special events such as reshape, quit, focus changes
     215  switch (event->type)
     216    {
     217    case SDL_VIDEORESIZE:
     218      GraphicsEngine* tmpGEngine = GraphicsEngine::getInstance();
     219      tmpGEngine->resolutionChanged(&event->resize);
     220      break;
     221    }
    215222}
    216223 
Note: See TracChangeset for help on using the changeset viewer.