diff src/video/gem/SDL_gemvideo.h @ 964:d9209754ebee

Prevent redraws till internal buffers are correctly setup
author Patrice Mandin <patmandin@gmail.com>
date Sat, 06 Nov 2004 08:56:23 +0000
parents 83db694556eb
children 44fd54a0ae5f
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.h	Sun Oct 31 13:15:33 2004 +0000
+++ b/src/video/gem/SDL_gemvideo.h	Sat Nov 06 08:56:23 2004 +0000
@@ -79,6 +79,7 @@
 	SDL_bool window_fulled;		/* Window maximized ? */
 	SDL_bool mouse_relative;	/* Report relative mouse movement */
 	SDL_bool locked;			/* AES locked for fullscreen ? */
+	SDL_bool lock_redraw;		/* Prevent redraw till buffers are setup */
 	short message[8];			/* To self-send an AES message */
 
 	SDL_bool fullscreen;		/* Fullscreen or windowed mode ? */
@@ -120,6 +121,7 @@
 #define GEM_win_fulled		(this->hidden->window_fulled)
 #define GEM_mouse_relative	(this->hidden->mouse_relative)
 #define GEM_locked			(this->hidden->locked)
+#define GEM_lock_redraw		(this->hidden->lock_redraw)
 #define GEM_message			(this->hidden->message)
 #define SDL_modelist		(this->hidden->SDL_modelist)
 #define GEM_icon			(this->hidden->icon)