summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2021-06-25 13:48:52 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2021-06-25 14:02:44 +0100
commitb65abe987c4611bbd514c921a90f1800abb1c4b0 (patch)
tree3115d0970d756e14eab3922197c129c187304332
parentfa64d91d12c94c9aa230cd231b1d2e16054b41f2 (diff)
downloadnetsurf-b65abe987c4611bbd514c921a90f1800abb1c4b0.tar.gz
netsurf-b65abe987c4611bbd514c921a90f1800abb1c4b0.tar.bz2
RISC OS: Image: Use #define for unspecified sprite area.
-rw-r--r--frontends/riscos/image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/riscos/image.c b/frontends/riscos/image.c
index 30cb30096..e6e0f7fe7 100644
--- a/frontends/riscos/image.c
+++ b/frontends/riscos/image.c
@@ -172,7 +172,7 @@ bool image_redraw_os(osspriteop_id header, int x, int y, int req_width,
os_error *error;
error = xcolourtrans_generate_table_for_sprite(
- (osspriteop_area *)0x100, header,
+ osspriteop_UNSPECIFIED, header,
os_CURRENT_MODE,
colourtrans_CURRENT_PALETTE,
0, colourtrans_GIVEN_SPRITE, 0, 0, &size);
@@ -192,7 +192,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,
+ osspriteop_UNSPECIFIED, header,
os_CURRENT_MODE,
colourtrans_CURRENT_PALETTE,
table, colourtrans_GIVEN_SPRITE, 0, 0, 0);
@@ -211,7 +211,7 @@ bool image_redraw_os(osspriteop_id header, int x, int y, int req_width,
f.ydiv = height;
error = xosspriteop_put_sprite_scaled(osspriteop_PTR,
- (osspriteop_area *)0x100, header,
+ osspriteop_UNSPECIFIED, header,
x, (int)(y - req_height),
8, &f, table);
if (error) {