SDL_Rect modes[128];intnumModes =0;intdisplay =SDL_GetWindowDisplayIndex( screen ); SDL_DisplayMode windowMode;if( SDL_GetWindowDisplayMode( screen, &windowMode ) <0) { Com_Printf("Couldn't get window display mode, no resolutions detected (%s).\n", SDL_GetError() );returnfalse; }int...