summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-07-19 23:35:12 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-07-19 23:35:12 +0000
commitd18f4397c7906880facdf7dc533d663e086771e6 (patch)
tree0677d7be5b57a18192f4ac8c5560ebf7419644b1 /riscos/window.c
parent2fedec98f917f221e228f71df62670a8e43c4d6a (diff)
downloadnetsurf-d18f4397c7906880facdf7dc533d663e086771e6.tar.gz
netsurf-d18f4397c7906880facdf7dc533d663e086771e6.tar.bz2
[project @ 2004-07-19 23:35:12 by rjw]
Double buffering for animations to remove flicker. Background font blending turned on by default. svn path=/import/netsurf/; revision=1121
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscos/window.c b/riscos/window.c
index b5981ec58..76a5e267c 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -23,6 +23,7 @@
#include "oslib/wimpspriteop.h"
#include "netsurf/css/css.h"
#include "netsurf/utils/config.h"
+#include "netsurf/riscos/buffer.h"
#include "netsurf/riscos/gui.h"
#include "netsurf/riscos/options.h"
#include "netsurf/riscos/theme.h"
@@ -493,6 +494,7 @@ void gui_window_update_box(struct gui_window *g,
while (more) {
if (data->redraw.full_redraw) {
+ if (option_buffer_animations) ro_gui_buffer_open(&update);
if (clear_background) {
error = xcolourtrans_set_gcol(os_COLOUR_WHITE,
colourtrans_SET_BG,
@@ -513,6 +515,7 @@ void gui_window_update_box(struct gui_window *g,
update.clip.x0, update.clip.y0,
update.clip.x1 - 1, update.clip.y1 - 1,
g->option.scale);
+ if (option_buffer_animations) ro_gui_buffer_close();
} else {
assert(data->redraw.object);