From afba9fa5ba36fb05e9324058311d5c5663107f9d Mon Sep 17 00:00:00 2001 From: Marcus Sundberg Date: Sun, 16 Jan 2000 00:51:03 +0000 Subject: [PATCH] Support compiling with older glide versions. --- common/gl_vidlinux_3dfx.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/common/gl_vidlinux_3dfx.c b/common/gl_vidlinux_3dfx.c index 96c9f69..d4e49b4 100644 --- a/common/gl_vidlinux_3dfx.c +++ b/common/gl_vidlinux_3dfx.c @@ -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))