diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-20 00:39:32 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-20 00:39:32 +0000 |
commit | 2b9df1b2cd30e394ebb4e9be721b7d219c4e418c (patch) | |
tree | a37d0e9834a253f4e9fc548407a0fe07c002fbe7 /amiga/bitmap.c | |
parent | 4cf9d888ff901dbfbaee0d3460068300e014e724 (diff) | |
download | netsurf-2b9df1b2cd30e394ebb4e9be721b7d219c4e418c.tar.gz netsurf-2b9df1b2cd30e394ebb4e9be721b7d219c4e418c.tar.bz2 |
Remove some p96 usage
Diffstat (limited to 'amiga/bitmap.c')
-rw-r--r-- | amiga/bitmap.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c index e7bd72ce4..b7eb129db 100644 --- a/amiga/bitmap.c +++ b/amiga/bitmap.c @@ -19,8 +19,8 @@ #include "amiga/os3support.h" #include <proto/exec.h> -#include <proto/Picasso96API.h> #ifdef __amigaos4__ +#include <proto/Picasso96API.h> #include <graphics/blitattr.h> #include <graphics/composite.h> #endif @@ -388,6 +388,7 @@ struct bitmap *ami_bitmap_from_datatype(char *filename) static struct BitMap *ami_bitmap_get_truecolour(struct bitmap *bitmap,int width,int height,struct BitMap *friendbm) { +#ifdef __amigaos4__ struct RenderInfo ri; struct BitMap *tbm = NULL; struct RastPort trp; @@ -495,6 +496,7 @@ static struct BitMap *ami_bitmap_get_truecolour(struct bitmap *bitmap,int width, } return tbm; +#endif } PLANEPTR ami_bitmap_get_mask(struct bitmap *bitmap, int width, @@ -581,3 +583,4 @@ struct BitMap *ami_bitmap_get_native(struct bitmap *bitmap, return ami_bitmap_get_truecolour(bitmap, width, height, friendbm); } } + |