[project @ 2004-08-17 19:51:30 by jmb]
Lose optimisation svn path=/import/netsurf/; revision=1241
This commit is contained in:
parent
b5e04ee27a
commit
21b9ca0bf1
|
@ -292,15 +292,6 @@ bool html_redraw_box(struct box *box,
|
|||
/* background colour */
|
||||
if (box->style->background_color != TRANSPARENT) {
|
||||
if (ro_gui_redraw_box_depth > 2) {
|
||||
|
||||
/* optimisation removed - transparent images break */
|
||||
/* optimisation: skip if fully repeated bg image */
|
||||
if (!box->background ||
|
||||
(ro_gui_current_redraw_gui &&
|
||||
!ro_gui_current_redraw_gui->option.background_images)
|
||||
/* || box->style->background_repeat !=
|
||||
CSS_BACKGROUND_REPEAT_REPEAT*/) {
|
||||
|
||||
error = xcolourtrans_set_gcol(
|
||||
box->style->background_color << 8,
|
||||
colourtrans_USE_ECFS,
|
||||
|
@ -325,11 +316,9 @@ bool html_redraw_box(struct box *box,
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* set current background color for font painting */
|
||||
current_background_color = box->style->background_color;
|
||||
}
|
||||
|
||||
if (box->background) {
|
||||
/* clip to padding box for everything but the main window */
|
||||
|
|
Loading…
Reference in New Issue