From 3d9a1198db571973e2760d6f27c771cbe31c844b Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Wed, 22 Feb 2006 01:58:19 +0000 Subject: [project @ 2006-02-22 01:58:19 by rjw] Reduce constant bitmap overhead per reference by moving to a flag word. Allow bitmaps to be reduced back to their raw data to free extra memory in a highly efficient manner. svn path=/import/netsurf/; revision=2089 --- riscos/plotters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscos/plotters.c') diff --git a/riscos/plotters.c b/riscos/plotters.c index d59883075..dcce28c38 100644 --- a/riscos/plotters.c +++ b/riscos/plotters.c @@ -326,7 +326,7 @@ bool ro_plot_bitmap(int x, int y, int width, int height, bitmap->height, bg, false, false, false, - bitmap->opaque ? IMAGE_PLOT_TINCT_OPAQUE : + bitmap_get_opaque(bitmap) ? IMAGE_PLOT_TINCT_OPAQUE : IMAGE_PLOT_TINCT_ALPHA); } @@ -344,7 +344,7 @@ bool ro_plot_bitmap_tile(int x, int y, int width, int height, bitmap->height, bg, repeat_x, repeat_y, true, - bitmap->opaque ? IMAGE_PLOT_TINCT_OPAQUE : + bitmap_get_opaque(bitmap) ? IMAGE_PLOT_TINCT_OPAQUE : IMAGE_PLOT_TINCT_ALPHA); } -- cgit v1.2.3