diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-20 20:58:37 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-20 20:58:37 +0000 |
commit | 249e89e389d5ec44894331fb0f55332efd92540f (patch) | |
tree | 3273a247c6338979d4e75fa3782367eb67093958 | |
parent | deb7e55063ee888e5e521f2a2cfd6928b3ff46dd (diff) | |
download | netsurf-249e89e389d5ec44894331fb0f55332efd92540f.tar.gz netsurf-249e89e389d5ec44894331fb0f55332efd92540f.tar.bz2 |
Fix a missed p96AllocBitMap
-rw-r--r-- | amiga/os3support.h | 3 | ||||
-rwxr-xr-x | amiga/thumbnail.c | 7 |
2 files changed, 2 insertions, 8 deletions
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 <proto/graphics.h> -#ifdef __amigaos4__ -#include <proto/Picasso96API.h> -#endif #include <intuition/intuition.h> #ifdef __amigaos4__ #include <graphics/blitattr.h> @@ -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); |