diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-12-02 16:30:44 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-12-02 16:30:44 +0000 |
commit | dea67b984a00760533b5b55aff7fd2545e653864 (patch) | |
tree | 7647a36141bf8db7713c3037c79e705132a69031 /riscos/image.c | |
parent | e30c2b1e2077544a1c2e7bc01a6d38303c7c761e (diff) | |
download | netsurf-dea67b984a00760533b5b55aff7fd2545e653864.tar.gz netsurf-dea67b984a00760533b5b55aff7fd2545e653864.tar.bz2 |
Modern OSLib (as of 3 months ago) no longer has colourtrans_CURRENT_MODE.
Use os_CURRENT_MODE, instead.
svn path=/trunk/netsurf/; revision=9710
Diffstat (limited to 'riscos/image.c')
-rw-r--r-- | riscos/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |