comparison src/video/macdsp/SDL_dspvideo.c @ 3948:ab8297bf3768 SDL-1.2

Minor tab fix in mac drawsprocket code.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 03 Jun 2007 19:19:16 +0000
parents e6de7e5fd451
children 7cdb1d7fc93b
comparison
equal deleted inserted replaced
3947:0f8a812e2855 3948:ab8297bf3768
1376 int i; 1376 int i;
1377 1377
1378 /* Free current video mode */ 1378 /* Free current video mode */
1379 DSp_UnsetVideoMode(this, this->screen); 1379 DSp_UnsetVideoMode(this, this->screen);
1380 1380
1381 /* Free Palette and restore original */ 1381 /* Free Palette and restore original */
1382 DSp_DestroyPalette (this); 1382 DSp_DestroyPalette (this);
1383 1383
1384 /* Free list of video modes */ 1384 /* Free list of video modes */
1385 if ( SDL_modelist != NULL ) { 1385 if ( SDL_modelist != NULL ) {
1386 for ( i=0; SDL_modelist[i]; i++ ) { 1386 for ( i=0; SDL_modelist[i]; i++ ) {
1387 SDL_free(SDL_modelist[i]); 1387 SDL_free(SDL_modelist[i]);
1389 SDL_free(SDL_modelist); 1389 SDL_free(SDL_modelist);
1390 SDL_modelist = NULL; 1390 SDL_modelist = NULL;
1391 } 1391 }
1392 1392
1393 /* Unload DrawSprocket */ 1393 /* Unload DrawSprocket */
1394 DSpShutdown (); 1394 DSpShutdown ();
1395 } 1395 }
1396 1396
1397 #if SDL_VIDEO_OPENGL 1397 #if SDL_VIDEO_OPENGL
1398 1398
1399 /* swap buffers with v-sync */ 1399 /* swap buffers with v-sync */