comparison src/video/quartz/SDL_QuartzVideo.m @ 1654:0a53c90a37f9 SDL-1.3

Updated to 1.3.0, SDL_OPENGLBLIT is no longer supported
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Apr 2006 05:30:05 +0000
parents ef4a796e7f24
children e49147870aac
comparison
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) ) {