summaryrefslogtreecommitdiffstats
path: root/src/helper/pixbuf-ops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/pixbuf-ops.cpp')
-rw-r--r--src/helper/pixbuf-ops.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helper/pixbuf-ops.cpp b/src/helper/pixbuf-ops.cpp
index 9d795c575..49a8cc28c 100644
--- a/src/helper/pixbuf-ops.cpp
+++ b/src/helper/pixbuf-ops.cpp
@@ -99,8 +99,9 @@ sp_generate_internal_bitmap(SPDocument *doc, gchar const */*filename*/,
{
- /* Create new arena */
+ /* Create new arena for offscreen rendering*/
NRArena *arena = NRArena::create();
+ nr_arena_set_renderoffscreen(arena);
unsigned dkey = sp_item_display_key_new(1);
sp_document_ensure_up_to_date (doc);