comparison src/video/SDL_video.c @ 3029:89f8a72e1ee9

Re-enable the screensaver at exit, just in case it's needed...
author Sam Lantinga <slouken@libsdl.org>
date Mon, 12 Jan 2009 08:23:47 +0000
parents 54fac87e1f34
children aa34d1180d30
comparison
equal deleted inserted replaced
3028:1c4a059966bd 3029:89f8a72e1ee9
2373 if (!_this) { 2373 if (!_this) {
2374 return; 2374 return;
2375 } 2375 }
2376 /* Halt event processing before doing anything else */ 2376 /* Halt event processing before doing anything else */
2377 SDL_StopEventLoop(); 2377 SDL_StopEventLoop();
2378 SDL_EnableScreenSaver();
2378 2379
2379 /* Clean up the system video */ 2380 /* Clean up the system video */
2380 for (i = _this->num_displays; i--;) { 2381 for (i = _this->num_displays; i--;) {
2381 SDL_VideoDisplay *display = &_this->displays[i]; 2382 SDL_VideoDisplay *display = &_this->displays[i];
2382 for (j = display->num_windows; j--;) { 2383 for (j = display->num_windows; j--;) {