Commit 108052b0 authored by Sam Lantinga's avatar Sam Lantinga

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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40611
parent b76da3f3
...@@ -76,7 +76,7 @@ static VideoBootStrap *bootstrap[] = { ...@@ -76,7 +76,7 @@ static VideoBootStrap *bootstrap[] = {
&SVGALIB_bootstrap, &SVGALIB_bootstrap,
#endif #endif
#ifdef ENABLE_AALIB #ifdef ENABLE_AALIB
&AALIB_bootstrap, &AALIB_bootstrap,
#endif #endif
#ifdef ENABLE_DIRECTX #ifdef ENABLE_DIRECTX
&DIRECTX_bootstrap, &DIRECTX_bootstrap,
...@@ -105,9 +105,6 @@ static VideoBootStrap *bootstrap[] = { ...@@ -105,9 +105,6 @@ static VideoBootStrap *bootstrap[] = {
#ifdef ENABLE_EPOC #ifdef ENABLE_EPOC
&EPOC_bootstrap, &EPOC_bootstrap,
#endif #endif
#ifdef ENABLE_DUMMYVIDEO
&DUMMY_bootstrap,
#endif
#ifdef ENABLE_XBIOS #ifdef ENABLE_XBIOS
&XBIOS_bootstrap, &XBIOS_bootstrap,
#endif #endif
...@@ -119,6 +116,9 @@ static VideoBootStrap *bootstrap[] = { ...@@ -119,6 +116,9 @@ static VideoBootStrap *bootstrap[] = {
#endif #endif
#ifdef ENABLE_DC #ifdef ENABLE_DC
&DC_bootstrap, &DC_bootstrap,
#endif
#ifdef ENABLE_DUMMYVIDEO
&DUMMY_bootstrap,
#endif #endif
NULL NULL
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment