Temp bugfix so that options menu will load, resolution that it tries to auto-select when opening did not exist and caused a crash.

This commit is contained in:
Mark Vejvoda 2010-04-01 07:38:49 +00:00
parent 0bcb710606
commit 215fbdb33f
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ void getFullscreenVideoModes(list<ModeInfo> *modeinfos) {
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
/* Get available fullscreen/hardware modes */
SDL_Rect**modes = SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE);
SDL_Rect**modes = SDL_ListModes(NULL, SDL_OPENGL|SDL_RESIZABLE);
/* Check if there are any modes available */
if (modes == (SDL_Rect**)0) {