diff options
-rw-r--r-- | riscos/buffer.c | 2 | ||||
-rw-r--r-- | riscos/image.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/riscos/buffer.c b/riscos/buffer.c index 4c35c9ad2..d135d3d84 100644 --- a/riscos/buffer.c +++ b/riscos/buffer.c @@ -193,7 +193,7 @@ void ro_gui_buffer_open(wimp_draw *redraw) header->mode = mode; if (palette) xcolourtrans_read_palette((osspriteop_area *)mode, - (osspriteop_id)colourtrans_CURRENT_MODE, + (osspriteop_id)os_CURRENT_MODE, (os_palette *)(header + 1), palette_size, (colourtrans_palette_flags) colourtrans_FLASHING_PALETTE, 0); diff --git a/riscos/image.c b/riscos/image.c index 46d2d3aa3..6ba57695b 100644 --- a/riscos/image.c +++ b/riscos/image.c @@ -172,7 +172,7 @@ bool image_redraw_os(osspriteop_id header, int x, int y, int req_width, error = xcolourtrans_generate_table_for_sprite( (osspriteop_area *)0x100, header, - colourtrans_CURRENT_MODE, + os_CURRENT_MODE, colourtrans_CURRENT_PALETTE, 0, colourtrans_GIVEN_SPRITE, 0, 0, &size); if (error) { @@ -190,7 +190,7 @@ bool image_redraw_os(osspriteop_id header, int x, int y, int req_width, error = xcolourtrans_generate_table_for_sprite( (osspriteop_area *)0x100, header, - colourtrans_CURRENT_MODE, + os_CURRENT_MODE, colourtrans_CURRENT_PALETTE, table, colourtrans_GIVEN_SPRITE, 0, 0, 0); if (error) { |