sdl2: truncate resolution list, add 16:9 hdtv modes

This commit is contained in:
Ronald Kinard 2014-07-21 22:16:34 -05:00
parent 1ac1d04cca
commit 2618b1dd0b
1 changed files with 5 additions and 16 deletions

View File

@ -86,7 +86,7 @@
#endif
// maximum number of windowed modes (see windowedModes[][])
#define MAXWINMODES (27)
#define MAXWINMODES (16)
/** \brief
*/
@ -149,30 +149,19 @@ static SDL_bool havefocus = SDL_TRUE;
static INT32 windowedModes[MAXWINMODES][2] =
{
{1920,1200}, // 1.60,6.00
{1920,1080}, // 1.66
{1680,1050}, // 1.60,5.25
{1600,1200}, // 1.33,5.00
{1600,1000}, // 1.60,5.00
{1536,1152}, // 1.33,4.80
{1536, 960}, // 1.60,4.80
{1600, 900}, // 1.66
{1440, 900}, // 1.60,4.50
{1400,1050}, // 1.33,4.375
{1400, 875}, // 1.60,4.375
{1360, 850}, // 1.60,4.25
{1280,1024}, // 1.33?
{1280, 960}, // 1.33,4.00
{1280, 800}, // 1.60,4.00
{1280, 720}, // 1.66
{1152, 864}, // 1.33,3.60
{1120, 700}, // 1.60,3.50
{1024, 768}, // 1.33,3.20
{ 960, 720}, // 1.33,3.00
{ 960, 600}, // 1.60,3.00
{ 800, 600}, // 1.33,2.50
{ 800, 500}, // 1.60,2.50
{ 640, 480}, // 1.33,2.00
{ 640, 400}, // 1.60,2.00
{ 576, 432}, // 1.33,1.80
{ 512, 384}, // 1.33,1.60
{ 416, 312}, // 1.33,1.30
{ 400, 300}, // 1.33,1.25
{ 320, 240}, // 1.33,1.00
{ 320, 200}, // 1.60,1.00
};