diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-09 16:20:55 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-09 16:20:55 +0000 |
commit | b46e69fe2297480183364fb87bf195267652629b (patch) | |
tree | a1f1c8ae04ae0c23c4f8aaf285748cbafa8b7962 /riscos/window.c | |
parent | 95916ab99da6be6854746f62792fe4baf9691c37 (diff) | |
download | netsurf-b46e69fe2297480183364fb87bf195267652629b.tar.gz netsurf-b46e69fe2297480183364fb87bf195267652629b.tar.bz2 |
Purge ro_plot_set_scale() and ro_plot_scale global, as front ends nolonger need to maintain scale for plotting.
svn path=/trunk/netsurf/; revision=11942
Diffstat (limited to 'riscos/window.c')
-rw-r--r-- | riscos/window.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/riscos/window.c b/riscos/window.c index 2e07b8390..7c2328d38 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -1677,7 +1677,6 @@ void ro_gui_window_redraw(wimp_draw *redraw) { osbool more; struct gui_window *g = (struct gui_window *)ro_gui_wimp_event_get_user_data(redraw->w); - float scale = g->bw->scale; os_error *error; /* We can't render locked contents. If the browser window is not @@ -1687,7 +1686,6 @@ void ro_gui_window_redraw(wimp_draw *redraw) return; plot = ro_plotters; - ro_plot_set_scale(scale); ro_gui_current_redraw_gui = g; current_redraw_browser = g->bw; @@ -4390,7 +4388,6 @@ void ro_gui_window_update_boxes(void) plot = ro_plotters; ro_plot_origin_x = update.box.x0 - update.xscroll; ro_plot_origin_y = update.box.y1 - update.yscroll; - ro_plot_set_scale(g->bw->scale); while (more) { clip.x0 = (update.clip.x0 - ro_plot_origin_x) / 2; |