diff src/video/gem/SDL_gemvideo.c @ 1103:18e5babe266e

Tell SDL to notfree my video surfaces (Damn, no how-to write a SDL driver)
author Patrice Mandin <patmandin@gmail.com>
date Wed, 27 Jul 2005 19:18:10 +0000
parents 1f5ef94e8bef
children bf145eaf76ef
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.c	Wed Jul 27 16:30:12 2005 +0000
+++ b/src/video/gem/SDL_gemvideo.c	Wed Jul 27 19:18:10 2005 +0000
@@ -696,7 +696,7 @@
 	}
 
 	/*--- Initialize screen ---*/
-	modeflags = 0;
+	modeflags = SDL_PREALLOC;
 	if (VDI_bpp == 8) {
 		modeflags |= SDL_HWPALETTE;
 	}