summaryrefslogtreecommitdiff
path: root/apps/mupdfdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mupdfdraw.c')
-rw-r--r--apps/mupdfdraw.c8
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)
{