Mercurial > sdl-ios-xcode
comparison src/video/SDL_video.c @ 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 | be6495850a62 |
children | 550bccdf04bd |
comparison
equal
deleted
inserted
replaced
609:a30b17e09cc0 | 610:95433459fbd2 |
---|---|
74 #endif | 74 #endif |
75 #ifdef ENABLE_SVGALIB | 75 #ifdef ENABLE_SVGALIB |
76 &SVGALIB_bootstrap, | 76 &SVGALIB_bootstrap, |
77 #endif | 77 #endif |
78 #ifdef ENABLE_AALIB | 78 #ifdef ENABLE_AALIB |
79 &AALIB_bootstrap, | 79 &AALIB_bootstrap, |
80 #endif | 80 #endif |
81 #ifdef ENABLE_DIRECTX | 81 #ifdef ENABLE_DIRECTX |
82 &DIRECTX_bootstrap, | 82 &DIRECTX_bootstrap, |
83 #endif | 83 #endif |
84 #ifdef ENABLE_WINDIB | 84 #ifdef ENABLE_WINDIB |
103 &ph_bootstrap, | 103 &ph_bootstrap, |
104 #endif | 104 #endif |
105 #ifdef ENABLE_EPOC | 105 #ifdef ENABLE_EPOC |
106 &EPOC_bootstrap, | 106 &EPOC_bootstrap, |
107 #endif | 107 #endif |
108 #ifdef ENABLE_XBIOS | |
109 &XBIOS_bootstrap, | |
110 #endif | |
111 #ifdef ENABLE_GEM | |
112 &GEM_bootstrap, | |
113 #endif | |
114 #ifdef ENABLE_PICOGUI | |
115 &PG_bootstrap, | |
116 #endif | |
117 #ifdef ENABLE_DC | |
118 &DC_bootstrap, | |
119 #endif | |
108 #ifdef ENABLE_DUMMYVIDEO | 120 #ifdef ENABLE_DUMMYVIDEO |
109 &DUMMY_bootstrap, | 121 &DUMMY_bootstrap, |
110 #endif | |
111 #ifdef ENABLE_XBIOS | |
112 &XBIOS_bootstrap, | |
113 #endif | |
114 #ifdef ENABLE_GEM | |
115 &GEM_bootstrap, | |
116 #endif | |
117 #ifdef ENABLE_PICOGUI | |
118 &PG_bootstrap, | |
119 #endif | |
120 #ifdef ENABLE_DC | |
121 &DC_bootstrap, | |
122 #endif | 122 #endif |
123 NULL | 123 NULL |
124 }; | 124 }; |
125 | 125 |
126 SDL_VideoDevice *current_video = NULL; | 126 SDL_VideoDevice *current_video = NULL; |