equal
deleted
inserted
replaced
131 |
131 |
132 // find the sdl window we're on |
132 // find the sdl window we're on |
133 SDL_VideoDevice *_this = SDL_GetVideoDevice(); |
133 SDL_VideoDevice *_this = SDL_GetVideoDevice(); |
134 SDL_VideoDisplay *display = &_this->displays[0]; |
134 SDL_VideoDisplay *display = &_this->displays[0]; |
135 sdlwindow = display->windows; |
135 sdlwindow = display->windows; |
136 |
|
137 doDim(); |
|
138 } |
136 } |
139 |
137 |
140 -(void) viewDidUnload { |
138 -(void) viewDidUnload { |
141 // only object initialized in viewDidLoad should be here |
139 // only object initialized in viewDidLoad should be here |
142 dimTimer = nil; |
140 dimTimer = nil; |