diff src/video/xbios/SDL_xbios.c @ 2073:790726541708

Save/restore current video mode and palette
author Patrice Mandin <patmandin@gmail.com>
date Mon, 13 Nov 2006 20:34:18 +0000
parents 4b3f98a9a2c1
children 2c835d58faad
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios.c	Mon Nov 13 19:59:28 2006 +0000
+++ b/src/video/xbios/SDL_xbios.c	Mon Nov 13 20:34:18 2006 +0000
@@ -174,7 +174,7 @@
 {
     /* Save screensaver settings */
 
-    /* Init video mode list */
+    /* Init video mode list, save current video mode settings */
     SDL_XBIOS_InitModes(_this);
 
     return (0);
@@ -187,5 +187,6 @@
 
     /* Restore screensaver settings */
 
+    /* Restore previous video mode settings */
     SDL_XBIOS_QuitModes(_this);
 }