diff src/video/xbios/SDL_xbios.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 f0919504adfd
children bf145eaf76ef
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios.c	Wed Jul 27 16:30:12 2005 +0000
+++ b/src/video/xbios/SDL_xbios.c	Wed Jul 27 19:18:10 2005 +0000
@@ -529,7 +529,7 @@
 		return(NULL);
 	}
 
-	modeflags = SDL_FULLSCREEN;
+	modeflags = SDL_FULLSCREEN | SDL_PREALLOC;
 
 	/* Allocate needed buffers: simple/double buffer and shadow surface */
 	new_video_mode = XBIOS_videomodes[bpp][mode];