summaryrefslogtreecommitdiff
path: root/amiga/bitmap.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-01-07 18:21:01 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-01-07 18:21:01 +0000
commit90fb7362c5fff521f16faf5d6a39edba30f588b0 (patch)
tree62fe68d02b860638451db2b0ddc74fb5c7130b1a /amiga/bitmap.c
parentaec29351a6cfbc899f0c441ece316c3707203ef1 (diff)
downloadnetsurf-90fb7362c5fff521f16faf5d6a39edba30f588b0.tar.gz
Use base type for gfxbase
svn path=/trunk/netsurf/; revision=11249
Diffstat (limited to 'amiga/bitmap.c')
-rw-r--r--amiga/bitmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c
index 2adcce526..31297e88e 100644
--- a/amiga/bitmap.c
+++ b/amiga/bitmap.c
@@ -26,6 +26,7 @@
#include <graphics/blitattr.h>
#include <graphics/composite.h>
#endif
+#include <graphics/gfxbase.h>
#include "amiga/options.h"
#include <proto/datatypes.h>
#include <datatypes/pictureclass.h>
@@ -359,7 +360,7 @@ struct BitMap *ami_getcachenativebm(struct bitmap *bitmap,int width,int height,s
scaledbm = p96AllocBitMap(width, height, 32, BMF_DISPLAYABLE,
friendbm, AMI_BITMAP_FORMAT);
- if(GfxBase->lib_Version >= 53) // AutoDoc says v52, but this function isn't in OS4.0, so checking for v53 (OS4.1)
+ if(GfxBase->LibNode.lib_Version >= 53) // AutoDoc says v52, but this function isn't in OS4.0, so checking for v53 (OS4.1)
{
uint32 comptype = COMPOSITE_Src;
uint32 flags = 0;