diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-02-11 13:20:49 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-11 13:20:49 +0100 |
commit | 75ec5116bf42a3c4f7b436ab72901fea36d13811 (patch) | |
tree | 5eb4e11a71594e4095f31ce029f96ebfb5a4344a /apps/x11_main.c | |
parent | 8e8fc85624b66e59e5e284de7f532522e776a353 (diff) | |
download | mupdf-75ec5116bf42a3c4f7b436ab72901fea36d13811.tar.xz |
Purge unused and bit rotted fz_accelerate stuff.
Diffstat (limited to 'apps/x11_main.c')
-rw-r--r-- | apps/x11_main.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/x11_main.c b/apps/x11_main.c index f9c00c99..281618ef 100644 --- a/apps/x11_main.c +++ b/apps/x11_main.c @@ -598,7 +598,6 @@ static void usage(void) fprintf(stderr, "\t-b -\tset anti-aliasing quality in bits (0=off, 8=best)\n"); fprintf(stderr, "\t-p -\tpassword\n"); fprintf(stderr, "\t-r -\tresolution\n"); - fprintf(stderr, "\t-A\tdisable accelerated functions\n"); exit(1); } @@ -612,7 +611,6 @@ int main(int argc, char **argv) int oldy = 0; int resolution = -1; int pageno = 1; - int accelerate = 1; int fd; fd_set fds; int width = -1; @@ -630,13 +628,12 @@ int main(int argc, char **argv) exit(1); } - while ((c = fz_getopt(argc, argv, "p:r:b:A")) != -1) + while ((c = fz_getopt(argc, argv, "p:r:b:")) != -1) { switch (c) { case 'p': password = fz_optarg; break; case 'r': resolution = atoi(fz_optarg); break; - case 'A': accelerate = 0; break; case 'b': fz_set_aa_level(ctx, atoi(fz_optarg)); break; default: usage(); } @@ -650,9 +647,6 @@ int main(int argc, char **argv) if (argc - fz_optind == 1) pageno = atoi(argv[fz_optind++]); - if (accelerate) - fz_accelerate(); - winopen(); pdfapp_init(ctx, &gapp); |