aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authortaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-05-26 14:00:45 +0000
committertaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-05-26 14:00:45 +0000
commit633ca1e88ebd1abc0dbefbcb678116f1b249cfd8 (patch)
tree2409f8038110b48d3b423b10c8cf03cbc99fa318 /src/main.c
parent841a4d35b5f90abb569fdb8a79c7786e6c0a6123 (diff)
Accurately describe the 1680x1050 resolution
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@43 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index d09db3c..e16938c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -35,7 +35,7 @@ typedef enum {
RES_1280,
RES_1330,
RES_1440,
- RES_1600
+ RES_1680
} ScreenResolution;
static void main_version() {
@@ -68,7 +68,7 @@ int main(int argc, char *argv[]) {
else if ( strcasecmp(optarg, "1280") == 0 ) res = RES_1280;
else if ( strcasecmp(optarg, "1330") == 0 ) res = RES_1330;
else if ( strcasecmp(optarg, "1440") == 0 ) res = RES_1440;
- else if ( strcasecmp(optarg, "1600") == 0 ) res = RES_1600;
+ else if ( strcasecmp(optarg, "1680") == 0 ) res = RES_1680;
else {
fprintf(stderr, "Unrecognised resolution '%s'\n", optarg);
exit(1);
@@ -101,7 +101,7 @@ int main(int argc, char *argv[]) {
printf(" 1280 - 1280 x 1024\n");
printf(" 1330 - 1330 x 900 (widescreen)\n");
printf(" 1440 - 1440 x 900 (widescreen)\n");
- printf(" 1600 - 1600 x 1050 (widescreen)\n");
+ printf(" 1680 - 1680 x 1050 (widescreen)\n");
printf("\n");
main_version();
return 0;
@@ -130,7 +130,7 @@ int main(int argc, char *argv[]) {
case RES_1280 : { width = 1280; height = 1024; break; }
case RES_1330 : { width = 1330; height = 900; break; }
case RES_1440 : { width = 1440; height = 900; break; }
- case RES_1600 : { width = 1680; height = 1050; break; }
+ case RES_1680 : { width = 1680; height = 1050; break; }
default : { assert(this_point_not_reached); break; }
}
screen = SDL_SetVideoMode(width, height, 16, video_flags);