summaryrefslogtreecommitdiff
path: root/amiga/bitmap.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-01-30 18:23:48 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-01-30 18:23:48 +0000
commit89856f55929907642013e45435b9d18cd1fafe36 (patch)
treecb78b000bc2e477fc4c265ad21a32087ce4508bc /amiga/bitmap.c
parent663191791eda7034c3d7d99a4039eca8ba02b441 (diff)
downloadnetsurf-89856f55929907642013e45435b9d18cd1fafe36.tar.gz
netsurf-89856f55929907642013e45435b9d18cd1fafe36.tar.bz2
ifdef some code that will never work under AmigaOS <4.0mono/windom-gui
Diffstat (limited to 'amiga/bitmap.c')
-rw-r--r--amiga/bitmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c
index 3a2bc7060..2fa8eb7c7 100644
--- a/amiga/bitmap.c
+++ b/amiga/bitmap.c
@@ -402,6 +402,7 @@ static struct BitMap *ami_bitmap_get_truecolour(struct bitmap *bitmap,int width,
if(GfxBase->LibNode.lib_Version >= 53) // AutoDoc says v52, but this function isn't in OS4.0, so checking for v53 (OS4.1)
{
+#ifdef __amigaos4__
uint32 comptype = COMPOSITE_Src;
uint32 flags = 0;
@@ -420,9 +421,9 @@ static struct BitMap *ami_bitmap_get_truecolour(struct bitmap *bitmap,int width,
COMPTAG_OffsetY,0,
COMPTAG_FriendBitMap,friendbm,
TAG_DONE);
+#endif
}
- else /* do it the old-fashioned way. This is pretty slow, but probably
- uses Composite() on OS4.1 anyway, so we're only saving a blit really. */
+ else /* Do it the old-fashioned way. This is pretty slow, even on OS4.1 */
{
bsa.bsa_SrcX = 0;
bsa.bsa_SrcY = 0;