Fix a missed p96AllocBitMap

This commit is contained in:
Chris Young 2015-01-20 20:58:37 +00:00
parent deb7e55063
commit 249e89e389
2 changed files with 2 additions and 8 deletions

View File

@ -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

View File

@ -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);