src/video/quartz/SDL_QuartzVideo.m
changeset 1144 509295d5a023
parent 1120 8e1fde455471
child 1160 72c6c3e5bb85
equal deleted inserted replaced
1143:71a2648acc75 1144:509295d5a023
   448         NSRect screen_rect;
   448         NSRect screen_rect;
   449         
   449         
   450         gamma_error = QZ_FadeGammaOut (this, &gamma_table);
   450         gamma_error = QZ_FadeGammaOut (this, &gamma_table);
   451 
   451 
   452         /*  Release double buffer stuff */
   452         /*  Release double buffer stuff */
   453         if ( mode_flags & (SDL_HWSURFACE|SDL_DOUBLEBUF)) {
   453         if ( mode_flags & SDL_DOUBLEBUF) {
   454             quit_thread = YES;
   454             quit_thread = YES;
   455             SDL_SemPost (sem1);
   455             SDL_SemPost (sem1);
   456             SDL_WaitThread (thread, NULL);
   456             SDL_WaitThread (thread, NULL);
   457             SDL_DestroySemaphore (sem1);
   457             SDL_DestroySemaphore (sem1);
   458             SDL_DestroySemaphore (sem2);
   458             SDL_DestroySemaphore (sem2);