src/video/quartz/SDL_QuartzVideo.m
changeset 555 2536446a92de
parent 501 74262d2647ca
child 560 37c31c12eb70
equal deleted inserted replaced
554:38b1a98aeb11 555:2536446a92de
   128     video_format->BitsPerPixel = device_bpp;
   128     video_format->BitsPerPixel = device_bpp;
   129 
   129 
   130     /* Set misc globals */
   130     /* Set misc globals */
   131     current_grab_mode = SDL_GRAB_OFF;
   131     current_grab_mode = SDL_GRAB_OFF;
   132     in_foreground     = YES;
   132     in_foreground     = YES;
       
   133     
       
   134     /* register for sleep notifications so wake from sleep generates SDL_VIDEOEXPOSE */
       
   135     QZ_RegisterForSleepNotifications (this);
   133     
   136     
   134     return 0;
   137     return 0;
   135 }
   138 }
   136 
   139 
   137 static SDL_Rect** QZ_ListModes (_THIS, SDL_PixelFormat *format, Uint32 flags) {
   140 static SDL_Rect** QZ_ListModes (_THIS, SDL_PixelFormat *format, Uint32 flags) {