equal
deleted
inserted
replaced
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); |