project_files/HedgewarsMobile/Classes/OverlayViewController.m
changeset 3701 8c449776ebe6
parent 3697 d5b30d6373fc
child 3737 2ba6ac8a114b
equal deleted inserted replaced
3699:e5e2cbc90891 3701:8c449776ebe6
   126 
   126 
   127     // find the sdl window we're on
   127     // find the sdl window we're on
   128     SDL_VideoDevice *_this = SDL_GetVideoDevice();
   128     SDL_VideoDevice *_this = SDL_GetVideoDevice();
   129     SDL_VideoDisplay *display = &_this->displays[0];
   129     SDL_VideoDisplay *display = &_this->displays[0];
   130     sdlwindow = display->windows;
   130     sdlwindow = display->windows;
       
   131 
       
   132     doDim();
   131 }
   133 }
   132 
   134 
   133 -(void) viewDidUnload {
   135 -(void) viewDidUnload {
   134     // only object initialized in viewDidLoad should be here
   136     // only object initialized in viewDidLoad should be here
   135     dimTimer = nil;
   137     dimTimer = nil;