changeset 610:95433459fbd2

Date: Mon, 14 Apr 2003 22:08:27 +0100 From: Patrice Mandin Subject: [SDL][PATCH] 2 patches for sdl Here are 2 patches for SDL: - One is to put the dummy video drivers at the end of the video drivers list. It gave me problems, when SDL_VIDEODRIVER is not set, and the dummy driver is used instead of the platform's driver, just because it is always available. So the dummy driver must always be at the end of the list. I suppose picogui and dc video drivers also don't work.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 15 Apr 2003 15:46:56 +0000
parents a30b17e09cc0
children 0a2ef9e8ca41
files src/video/SDL_video.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_video.c	Sat Mar 22 17:39:26 2003 +0000
+++ b/src/video/SDL_video.c	Tue Apr 15 15:46:56 2003 +0000
@@ -76,7 +76,7 @@
 	&SVGALIB_bootstrap,
 #endif
 #ifdef ENABLE_AALIB
-    &AALIB_bootstrap,
+	&AALIB_bootstrap,
 #endif
 #ifdef ENABLE_DIRECTX
 	&DIRECTX_bootstrap,
@@ -105,9 +105,6 @@
 #ifdef ENABLE_EPOC
 	&EPOC_bootstrap,
 #endif
-#ifdef ENABLE_DUMMYVIDEO
-	&DUMMY_bootstrap,
-#endif
 #ifdef ENABLE_XBIOS
 	&XBIOS_bootstrap,
 #endif
@@ -120,6 +117,9 @@
 #ifdef ENABLE_DC
 	&DC_bootstrap,
 #endif
+#ifdef ENABLE_DUMMYVIDEO
+	&DUMMY_bootstrap,
+#endif
 	NULL
 };