From 249e89e389d5ec44894331fb0f55332efd92540f Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 20 Jan 2015 20:58:37 +0000 Subject: Fix a missed p96AllocBitMap --- amiga/os3support.h | 3 --- amiga/thumbnail.c | 7 ++----- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'amiga') diff --git a/amiga/os3support.h b/amiga/os3support.h index a329cc9c5..ecb6f4a9a 100644 --- a/amiga/os3support.h +++ b/amiga/os3support.h @@ -149,9 +149,6 @@ #define IDoSuperMethodA DoSuperMethodA #define ShowWindow(...) (void)0 -/* P96 */ -#define p96WritePixelArray (void)0 /* TODO - see rtg.c */ - /* Utility */ #define SetMem memset #define SNPrintf snprintf diff --git a/amiga/thumbnail.c b/amiga/thumbnail.c index 5333b4ce1..09d8afe42 100755 --- a/amiga/thumbnail.c +++ b/amiga/thumbnail.c @@ -19,9 +19,6 @@ #include "amiga/os3support.h" #include -#ifdef __amigaos4__ -#include -#endif #include #ifdef __amigaos4__ #include @@ -42,7 +39,7 @@ #include "amiga/gui.h" #include "amiga/bitmap.h" - +#include "amiga/rtg.h" bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, nsurl *url) @@ -64,7 +61,7 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, plot_height = ((plot_width * bitmap->height) + (bitmap->width / 2)) / bitmap->width; - bitmap->nativebm = p96AllocBitMap(bitmap->width, bitmap->height, 32, + bitmap->nativebm = ami_rtg_allocbitmap(bitmap->width, bitmap->height, 32, BMF_CLEAR | BMF_DISPLAYABLE | BMF_INTERLEAVED, browserglob.bm, RGBFB_A8R8G8B8); -- cgit v1.2.3