[project @ 2005-04-05 11:41:03 by rjw]

Missing check-in for updated sprite rendering.

svn path=/import/netsurf/; revision=1599
This commit is contained in:
Richard Wilson 2005-04-05 11:41:03 +00:00
parent 92743be24d
commit 8e9561dc29
1 changed files with 6 additions and 3 deletions

View File

@ -154,7 +154,8 @@ bool image_redraw_os(osspriteop_area *area, int x, int y, int req_width,
os_error *error;
error = xcolourtrans_generate_table_for_sprite(
area, (osspriteop_id)((char*) area + area->first),
(osspriteop_area *)0x100,
(osspriteop_id)((char*) area + area->first),
colourtrans_CURRENT_MODE,
colourtrans_CURRENT_PALETTE,
0, colourtrans_GIVEN_SPRITE, 0, 0, &size);
@ -171,7 +172,8 @@ bool image_redraw_os(osspriteop_area *area, int x, int y, int req_width,
}
error = xcolourtrans_generate_table_for_sprite(
area, (osspriteop_id)((char*) area + area->first),
(osspriteop_area *)0x100,
(osspriteop_id)((char*) area + area->first),
colourtrans_CURRENT_MODE,
colourtrans_CURRENT_PALETTE,
table, colourtrans_GIVEN_SPRITE, 0, 0, 0);
@ -187,7 +189,8 @@ bool image_redraw_os(osspriteop_area *area, int x, int y, int req_width,
f.ydiv = height;
error = xosspriteop_put_sprite_scaled(osspriteop_PTR,
area, (osspriteop_id)((char*) area + area->first),
(osspriteop_area *)0x100,
(osspriteop_id)((char*) area + area->first),
x, (int)(y - req_height),
8, &f, table);
if (error) {