src/video/quartz/SDL_QuartzVideo.m
branchSDL-1.3
changeset 1654 0a53c90a37f9
parent 1629 ef4a796e7f24
child 1658 e49147870aac
equal deleted inserted replaced
1653:939d938d62df 1654:0a53c90a37f9
  1351     }
  1351     }
  1352 }
  1352 }
  1353 
  1353 
  1354 static void QZ_UpdateRects (_THIS, int numRects, SDL_Rect *rects) {
  1354 static void QZ_UpdateRects (_THIS, int numRects, SDL_Rect *rects) {
  1355 
  1355 
  1356     if (SDL_VideoSurface->flags & SDL_OPENGLBLIT) {
  1356     if ( [ qz_window isMiniaturized ] ) {
  1357         QZ_GL_SwapBuffers (this);
       
  1358     }
       
  1359     else if ( [ qz_window isMiniaturized ] ) {
       
  1360     
  1357     
  1361         /* Do nothing if miniaturized */
  1358         /* Do nothing if miniaturized */
  1362     }
  1359     }
  1363     
  1360     
  1364     else if ( ! QZ_IsWindowObscured (qz_window) ) {
  1361     else if ( ! QZ_IsWindowObscured (qz_window) ) {