Support compiling with older glide versions.

This commit is contained in:
Marcus Sundberg 2000-01-16 00:51:03 +00:00
parent c188df7698
commit afba9fa5ba

View file

@ -279,17 +279,39 @@ static int resolutions[][3]={
{ 800, 600, GR_RESOLUTION_800x600 },
{ 856, 480, GR_RESOLUTION_856x480 },
{ 960, 720, GR_RESOLUTION_960x720 },
#ifdef GR_RESOLUTION_1024x768
{ 1024, 768, GR_RESOLUTION_1024x768 },
#endif
#ifdef GR_RESOLUTION_1152x864
{ 1152, 864, GR_RESOLUTION_1152x864 },
#endif
#ifdef GR_RESOLUTION_1280x960
{ 1280, 960, GR_RESOLUTION_1280x960 },
#endif
#ifdef GR_RESOLUTION_1280x1024
{ 1280, 1024, GR_RESOLUTION_1280x1024 },
#endif
#ifdef GR_RESOLUTION_1600x1024
{ 1600, 1024, GR_RESOLUTION_1600x1024 },
#endif
#ifdef GR_RESOLUTION_1600x1200
{ 1600, 1200, GR_RESOLUTION_1600x1200 },
#endif
#ifdef GR_RESOLUTION_1792x1344
{ 1792, 1344, GR_RESOLUTION_1792x1344 },
#endif
#ifdef GR_RESOLUTION_1856x1392
{ 1856, 1392, GR_RESOLUTION_1856x1392 },
#endif
#ifdef GR_RESOLUTION_1920x1440
{ 1920, 1440, GR_RESOLUTION_1920x1440 },
#endif
#ifdef GR_RESOLUTION_2048x1536
{ 2048, 1536, GR_RESOLUTION_2048x1536 },
#endif
#ifdef GR_RESOLUTION_2048x2048
{ 2048, 2048, GR_RESOLUTION_2048x2048 }
#endif
};
#define NUM_RESOLUTIONS (sizeof(resolutions)/(sizeof(int)*3))