[project @ 2006-01-25 00:20:21 by rjw]

Rescue jmb from O2

svn path=/import/netsurf/; revision=2035
This commit is contained in:
Richard Wilson 2006-01-25 00:20:21 +00:00
parent 443818ff07
commit 7354ee1008

View File

@ -317,10 +317,8 @@ bool ro_plot_disc(int x, int y, int radius, colour colour)
bool ro_plot_bitmap(int x, int y, int width, int height,
struct bitmap *bitmap, colour bg)
{
char *buffer;
buffer = bitmap_get_buffer(bitmap);
return image_redraw(buffer,
bitmap_get_buffer(bitmap);
return image_redraw(bitmap->sprite_area,
ro_plot_origin_x + x * 2,
ro_plot_origin_y - y * 2,
width, height,
@ -337,11 +335,9 @@ bool ro_plot_bitmap_tile(int x, int y, int width, int height,
struct bitmap *bitmap, colour bg,
bool repeat_x, bool repeat_y)
{
char *buffer;
buffer = bitmap_get_buffer(bitmap);
return image_redraw(buffer,
ro_plot_origin_x + x * 2,
bitmap_get_buffer(bitmap);
return image_redraw(bitmap->sprite_area,
ro_plot_origin_x + x * 2,
ro_plot_origin_y - y * 2,
width, height,
bitmap->width,