summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/gl/gl-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/gl/gl-main.c b/platform/gl/gl-main.c
index e1d2ccd2..bd7758af 100644
--- a/platform/gl/gl-main.c
+++ b/platform/gl/gl-main.c
@@ -1409,13 +1409,13 @@ int main(int argc, char **argv)
}
}
+ fz_layout_document(ctx, doc, layout_w, layout_h, layout_em);
+
outline = fz_load_outline(ctx, doc);
pdf = pdf_specifics(ctx, doc);
if (pdf)
pdf_enable_js(ctx, pdf);
- fz_layout_document(ctx, doc, layout_w, layout_h, layout_em);
-
render_page();
update_title();
shrinkwrap();