summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2005-02-01 00:58:31 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2005-02-01 00:58:31 +0000
commitfd04e82e9b31d0ad53b0fb2fde395600af1205c1 (patch)
treeccdc52c70a0334dd32530bb16dd8159898c41f33 /riscos/window.c
parentb71e5cc587357ce78b33276e800b2262d04bb847 (diff)
downloadnetsurf-fd04e82e9b31d0ad53b0fb2fde395600af1205c1.tar.gz
netsurf-fd04e82e9b31d0ad53b0fb2fde395600af1205c1.tar.bz2
[project @ 2005-02-01 00:58:31 by rjw]
Only buffer redraws that update the entire current clipping area (fixes GIF redraw artifacts.) svn path=/import/netsurf/; revision=1477
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/riscos/window.c b/riscos/window.c
index 65dc08377..7bdedd53c 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -25,6 +25,7 @@
#include "oslib/wimpspriteop.h"
#include "netsurf/utils/config.h"
#include "netsurf/content/content.h"
+#include "netsurf/content/url_store.h"
#include "netsurf/css/css.h"
#include "netsurf/desktop/plotters.h"
#include "netsurf/render/box.h"
@@ -510,7 +511,7 @@ void gui_window_update_box(struct gui_window *g,
struct content *c = g->bw->current_content;
osbool more;
bool clear_background = false;
- bool use_buffer = g->option.buffer_everything;
+ bool use_buffer;
wimp_draw update;
int clip_x0, clip_y0, clip_x1, clip_y1;
os_error *error;
@@ -539,8 +540,8 @@ void gui_window_update_box(struct gui_window *g,
/* Set the current redraw gui_window to get options from
*/
ro_gui_current_redraw_gui = g;
-/* if (data->redraw.full_redraw) */
- use_buffer = use_buffer || g->option.buffer_animations;
+ use_buffer = (data->redraw.full_redraw) &&
+ (g->option.buffer_everything || g->option.buffer_animations);
plot = ro_plotters;
ro_plot_origin_x = update.box.x0 - update.xscroll;