summaryrefslogtreecommitdiff
path: root/amiga/plotters.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/plotters.c
parentaec29351a6cfbc899f0c441ece316c3707203ef1 (diff)
downloadnetsurf-90fb7362c5fff521f16faf5d6a39edba30f588b0.tar.gz
netsurf-90fb7362c5fff521f16faf5d6a39edba30f588b0.tar.bz2
Use base type for gfxbase
svn path=/trunk/netsurf/; revision=11249
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-xamiga/plotters.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index f433ae86d..f89b12c04 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -23,6 +23,7 @@
#include <intuition/intuition.h>
#include <graphics/rpattr.h>
#include <graphics/gfxmacros.h>
+#include <graphics/gfxbase.h>
#include "amiga/utf8.h"
#include "amiga/options.h"
#ifdef __amigaos4__
@@ -549,7 +550,7 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma
LOG(("[ami_plotter] ami_bitmap() got native bitmap"));
#endif
- 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;
if(!bitmap->opaque)
@@ -699,7 +700,7 @@ static void ami_bitmap_tile_hook(struct Hook *hook,struct RastPort *rp,struct Ba
for (xf = -bfbm->offsetx; xf < bfmsg->Bounds.MaxX; xf += bfbm->width) {
for (yf = -bfbm->offsety; yf < bfmsg->Bounds.MaxY; yf += bfbm->height) {
- 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)
{
CompositeTags(COMPOSITE_Src_Over_Dest,bfbm->bm,rp->BitMap,
COMPTAG_Flags,COMPFLAG_IgnoreDestAlpha,