Mercurial > sdl-ios-xcode
annotate src/main/linux/SDL_main.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 | 25dfe480c75e |
children |
rev | line source |
---|---|
0 | 1 |
2 /* Include the SDL main definition header */ | |
3 #include "SDL_main.h" | |
4 #ifdef main | |
5 #undef main | |
6 #endif | |
7 | |
53
25dfe480c75e
Added MacOS X Project Builder projects
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
8 extern int SDL_main(int argc, char *argv[]); |
0 | 9 |
10 int main(int argc, char *argv[]) | |
11 { | |
53
25dfe480c75e
Added MacOS X Project Builder projects
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
12 return(SDL_main(argc, argv)); |
0 | 13 } |