changeset 917:24852aeb0657

Lock the screen before doing its backup
author Patrice Mandin <patmandin@gmail.com>
date Mon, 02 Aug 2004 18:39:50 +0000
parents 46916168361d
children 17822f1f9674
files src/video/gem/SDL_gemvideo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.c	Sun Jul 25 19:43:56 2004 +0000
+++ b/src/video/gem/SDL_gemvideo.c	Mon Aug 02 18:39:50 2004 +0000
@@ -520,11 +520,11 @@
 static void GEM_LockScreen(_THIS)
 {
 	if (!GEM_locked) {
-		/* Reserve memory space, used to be sure of compatibility */
-		form_dial( FMD_START, 0,0,0,0, 0,0,VDI_w,VDI_h);
 		/* Lock AES */
 		wind_update(BEG_UPDATE);
 		wind_update(BEG_MCTRL);
+		/* Reserve memory space, used to be sure of compatibility */
+		form_dial( FMD_START, 0,0,0,0, 0,0,VDI_w,VDI_h);
 
 		GEM_locked=SDL_TRUE;
 	}