From: Vladimir Nadvornik Date: Sun, 27 Mar 2011 17:22:29 +0000 (+0200) Subject: allocate tile pixbuf allways X-Git-Tag: 1.1~52 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=dd008ca74ba4a924b202021a7d0dbd11cf0dc542 allocate tile pixbuf allways --- diff --git a/src/renderer-tiles.c b/src/renderer-tiles.c index 04c6b225..afc1bd9d 100644 --- a/src/renderer-tiles.c +++ b/src/renderer-tiles.c @@ -491,14 +491,11 @@ static void rt_tile_prepare(RendererTiles *rt, ImageTile *it) 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);