diff options
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -31,6 +31,7 @@ typedef enum { RES_640, RES_800, + RES_1024, RES_1280, RES_1330, RES_1440, @@ -63,6 +64,7 @@ int main(int argc, char *argv[]) { case 'r' : { if ( strcasecmp(optarg, "640") == 0 ) res = RES_640; else if ( strcasecmp(optarg, "800") == 0 ) res = RES_800; + else if ( strcasecmp(optarg, "1024") == 0 ) res = RES_1024; 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; @@ -95,6 +97,7 @@ int main(int argc, char *argv[]) { printf("<res> Width Height\n"); printf(" 640 - 640 x 480\n"); printf(" 800 - 800 x 600 (this is the default)\n"); + printf(" 1024 - 1024 x 768\n"); printf(" 1280 - 1280 x 1024\n"); printf(" 1330 - 1330 x 900 (widescreen)\n"); printf(" 1440 - 1440 x 900 (widescreen)\n"); @@ -123,6 +126,7 @@ int main(int argc, char *argv[]) { switch ( res ) { case RES_640 : { width = 640; height = 480; break; } case RES_800 : { width = 800; height = 600; break; } + case RES_1024 : { width = 1024; height = 768; break; } case RES_1280 : { width = 1280; height = 1024; break; } case RES_1330 : { width = 1330; height = 900; break; } case RES_1440 : { width = 1440; height = 900; break; } |