# HG changeset patch # User Vladimir Nadvornik # Date 1301246549 -7200 # Node ID 3f0837f71accfb97f9842b566fe64d3ee07b6c0e # Parent caca32ccd94579abbf6928bcf6fcb198d3e9f378 allocate tile pixbuf allways diff -r caca32ccd945 -r 3f0837f71acc src/renderer-tiles.c --- a/src/renderer-tiles.c Sun Mar 27 18:20:19 2011 +0200 +++ b/src/renderer-tiles.c Sun Mar 27 19:22:29 2011 +0200 @@ -491,14 +491,11 @@ rt->tile_cache_size += size; } - if ((pr->zoom != 1.0 || pr->source_tiles_enabled || (pr->pixbuf && gdk_pixbuf_get_has_alpha(pr->pixbuf)) || - pr->orientation != EXIF_ORIENTATION_TOP_LEFT || pr->func_post_process) && !it->pixbuf) + if (!it->pixbuf) { GdkPixbuf *pixbuf; guint size; - { - pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, FALSE, 8, rt->tile_width, rt->tile_height); - } + pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, FALSE, 8, rt->tile_width, rt->tile_height); size = gdk_pixbuf_get_rowstride(pixbuf) * rt->tile_height; rt_tile_free_space(rt, size, it);