src/video/SDL_video.c
changeset 11001 a194d919972c
parent 10996 98cb4438d83e
child 11006 40ff26e5a853
     1.1 --- a/src/video/SDL_video.c	Fri May 12 23:00:40 2017 +0200
     1.2 +++ b/src/video/SDL_video.c	Fri May 12 23:01:04 2017 +0200
     1.3 @@ -3872,8 +3872,6 @@
     1.4  
     1.5  void SDL_OnApplicationWillResignActive()
     1.6  {
     1.7 -    SDL_VideoDevice *_this = SDL_GetVideoDevice();
     1.8 -
     1.9      if (_this) {
    1.10          SDL_Window *window;
    1.11          for (window = _this->windows; window != NULL; window = window->next) {
    1.12 @@ -3896,8 +3894,6 @@
    1.13  
    1.14  void SDL_OnApplicationDidBecomeActive()
    1.15  {
    1.16 -    SDL_VideoDevice *_this = SDL_GetVideoDevice();
    1.17 -
    1.18      SDL_SendAppEvent(SDL_APP_DIDENTERFOREGROUND);
    1.19  
    1.20      if (_this) {