summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-01-06 18:29:05 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-01-06 18:29:05 +0000
commit870c7096842725f354708963c9630deb1c5386fc (patch)
tree8b07591d7ba71a28b76976c69c4473761d40ce89 /amiga/plotters.c
parent69da9a55e16f0a09690ca5fc5cb0b0e1d0fe9c24 (diff)
downloadnetsurf-870c7096842725f354708963c9630deb1c5386fc.tar.gz
netsurf-870c7096842725f354708963c9630deb1c5386fc.tar.bz2
Get Composite() to befriend the screen's BitMap to ensure they are on the same graphics board. This should fix the slowness when multiple graphics cards are installed.
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-xamiga/plotters.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index 6683fc58b..05db67f48 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -711,6 +711,7 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma
COMPTAG_SrcHeight,height,
COMPTAG_OffsetX,x,
COMPTAG_OffsetY,y,
+ COMPTAG_FriendBitMap, scrn->RastPort.BitMap,
TAG_DONE);
#endif
}
@@ -873,6 +874,7 @@ static void ami_bitmap_tile_hook(struct Hook *hook,struct RastPort *rp,struct Ba
COMPTAG_SrcHeight,bfbm->height,
COMPTAG_OffsetX,xf,
COMPTAG_OffsetY,yf,
+ COMPTAG_FriendBitMap, scrn->RastPort.BitMap,
TAG_DONE);
#endif
}