Put SDL engine priority lower as it should find a way to build a window when

every one else fail.



SVN revision: 35955
This commit is contained in:
Cedric BAIL 2008-09-11 14:48:34 +00:00
parent 3a15a282fc
commit 41d40ee473
1 changed files with 6 additions and 4 deletions

View File

@ -470,10 +470,6 @@ static const struct ecore_evas_engine _engines[] = {
#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_X11 #ifdef BUILD_ECORE_EVAS_SOFTWARE_16_X11
{"software_16_x11", _ecore_evas_constructor_software_16_x11}, {"software_16_x11", _ecore_evas_constructor_software_16_x11},
#endif #endif
#ifdef BUILD_ECORE_EVAS_SDL
{"sdl", _ecore_evas_constructor_sdl},
{"software_16_sdl", _ecore_evas_constructor_sdl16},
#endif
#ifdef BUILD_ECORE_EVAS_DIRECTFB #ifdef BUILD_ECORE_EVAS_DIRECTFB
{"directfb", _ecore_evas_constructor_directfb}, {"directfb", _ecore_evas_constructor_directfb},
#endif #endif
@ -500,6 +496,12 @@ static const struct ecore_evas_engine _engines[] = {
{"software_16_wince_gapi", _ecore_evas_constructor_software_16_wince_gapi}, {"software_16_wince_gapi", _ecore_evas_constructor_software_16_wince_gapi},
#endif #endif
/* Last chance to have a window */
#ifdef BUILD_ECORE_EVAS_SDL
{"sdl", _ecore_evas_constructor_sdl},
{"software_16_sdl", _ecore_evas_constructor_sdl16},
#endif
/* independent */ /* independent */
#ifdef BUILD_ECORE_EVAS_BUFFER #ifdef BUILD_ECORE_EVAS_BUFFER
{"buffer", _ecore_evas_constructor_buffer}, {"buffer", _ecore_evas_constructor_buffer},