Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5236 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Sep 24, 2005, 9:26:47 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: SDL_EventSystem now has the Threaded EventSystem from SDL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/event_handler.cc

    r5210 r5236  
    3434EventHandler::EventHandler ()
    3535{
     36  SDL_InitSubSystem(SDL_INIT_JOYSTICK);
     37  SDL_InitSubSystem(SDL_INIT_EVENTTHREAD);
     38
    3639  this->setClassID(CL_EVENT_HANDLER, "EventHandler");
    3740
     
    7174  }
    7275  delete this->keyMapper;
     76
     77  SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
     78
    7379  EventHandler::singletonRef = NULL;
    7480}
Note: See TracChangeset for help on using the changeset viewer.