From ad18ef5db99eb38075e6e49246b097a8ba727ab8 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 15 Apr 2015 23:57:39 +0100 Subject: Update RISC OS frontend to use bitmap operation table --- riscos/window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'riscos/window.c') diff --git a/riscos/window.c b/riscos/window.c index fae756646..4f281b919 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -3411,7 +3411,7 @@ void ro_gui_window_iconise(struct gui_window *g, } /* create the thumbnail sprite */ - bitmap = bitmap_create(width, height, BITMAP_NEW | BITMAP_OPAQUE | + bitmap = riscos_bitmap_create(width, height, BITMAP_NEW | BITMAP_OPAQUE | BITMAP_CLEAR_MEMORY); if (!bitmap) { LOG(("Thumbnail initialisation failed.")); @@ -3419,10 +3419,10 @@ void ro_gui_window_iconise(struct gui_window *g, } thumbnail_create(h, bitmap); if (overlay) { - bitmap_overlay_sprite(bitmap, overlay); + riscos_bitmap_overlay_sprite(bitmap, overlay); } area = thumbnail_convert_8bpp(bitmap); - bitmap_destroy(bitmap); + riscos_bitmap_destroy(bitmap); if (!area) { LOG(("Thumbnail conversion failed.")); return; -- cgit v1.2.3