diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-04-15 23:57:39 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-04-15 23:57:39 +0100 |
commit | ad18ef5db99eb38075e6e49246b097a8ba727ab8 (patch) | |
tree | c3dfedcf9d084df73449fa6e4be3f3713250d2fa /riscos/window.c | |
parent | 5c7e8618d5e5f2eb0b37dd937fb5669eeba407d0 (diff) | |
download | netsurf-ad18ef5db99eb38075e6e49246b097a8ba727ab8.tar.gz netsurf-ad18ef5db99eb38075e6e49246b097a8ba727ab8.tar.bz2 |
Update RISC OS frontend to use bitmap operation table
Diffstat (limited to 'riscos/window.c')
-rw-r--r-- | riscos/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |