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/mupdfdraw.c | |
parent | 8e8fc85624b66e59e5e284de7f532522e776a353 (diff) | |
download | mupdf-75ec5116bf42a3c4f7b436ab72901fea36d13811.tar.xz |
Purge unused and bit rotted fz_accelerate stuff.
Diffstat (limited to 'apps/mupdfdraw.c')
-rw-r--r-- | apps/mupdfdraw.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/mupdfdraw.c b/apps/mupdfdraw.c index c58b0b2e..7100f5c1 100644 --- a/apps/mupdfdraw.c +++ b/apps/mupdfdraw.c @@ -43,7 +43,6 @@ static void usage(void) "\t\tsupported formats: pgm, ppm, pam, png, pbm\n" "\t-p -\tpassword\n" "\t-r -\tresolution in dpi (default: 72)\n" - "\t-A\tdisable accelerated functions\n" "\t-a\tsave alpha channel (only pam and png)\n" "\t-b -\tnumber of bits of antialiasing (0 to 8)\n" "\t-g\trender in grayscale\n" @@ -365,14 +364,13 @@ int main(int argc, char **argv) { char *password = ""; int grayscale = 0; - int accelerate = 1; pdf_document *doc = NULL; int c; fz_context *ctx; fz_var(doc); - while ((c = fz_getopt(argc, argv, "lo:p:r:R:Aab:dgmtx5G:I")) != -1) + while ((c = fz_getopt(argc, argv, "lo:p:r:R:ab:dgmtx5G:I")) != -1) { switch (c) { @@ -380,7 +378,6 @@ int main(int argc, char **argv) case 'p': password = fz_optarg; break; case 'r': resolution = atof(fz_optarg); break; case 'R': rotation = atof(fz_optarg); break; - case 'A': accelerate = 0; break; case 'a': savealpha = 1; break; case 'b': alphabits = atoi(fz_optarg); break; case 'l': showoutline++; break; @@ -405,9 +402,6 @@ int main(int argc, char **argv) exit(0); } - if (accelerate) - fz_accelerate(); - ctx = fz_new_context(NULL, NULL, FZ_STORE_DEFAULT); if (!ctx) { |