diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-09 21:04:15 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-09 21:04:15 +0000 |
commit | 55fd1d0133d30ed68f29860fa867f17c1e7f78b4 (patch) | |
tree | ef91354d74bd1585616f8a6299b7b27082fbbd12 /riscos/thumbnail.c | |
parent | a0e0d23c2df487d48ff12f7abdc35e05b1861dd1 (diff) | |
download | netsurf-55fd1d0133d30ed68f29860fa867f17c1e7f78b4.tar.gz netsurf-55fd1d0133d30ed68f29860fa867f17c1e7f78b4.tar.bz2 |
Front ends don't need to call thumbnail_get_redraw_scale() now.
svn path=/trunk/netsurf/; revision=11946
Diffstat (limited to 'riscos/thumbnail.c')
-rw-r--r-- | riscos/thumbnail.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/riscos/thumbnail.c b/riscos/thumbnail.c index 3bc25f335..92fa0cdb2 100644 --- a/riscos/thumbnail.c +++ b/riscos/thumbnail.c @@ -82,7 +82,6 @@ static void thumbnail_restore_output(struct thumbnail_save_area *save_area); bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, const char *url) { - float scale = 1.0; struct thumbnail_save_area *save_area; osspriteop_area *sprite_area = NULL; osspriteop_header *sprite_header = NULL; @@ -114,8 +113,6 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, plot = ro_plotters; ro_plot_origin_x = 0; ro_plot_origin_y = bitmap->height * 2; - if (content_get_width(content)) - scale = thumbnail_get_redraw_scale(content, bitmap->width); /* switch output and redraw */ save_area = thumbnail_switch_output(sprite_area, sprite_header); |