Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions frontends/amiga/dt_anim.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
#include <proto/intuition.h>
#include <datatypes/animationclass.h>
#include <datatypes/pictureclass.h>
#ifdef __amigaos4__
#include <graphics/blitattr.h>
#endif
#include <intuition/classusr.h>

#include "utils/log.h"
Expand Down Expand Up @@ -216,7 +214,17 @@ bool amiga_dt_anim_convert(struct content *c)
BLITA_CLUT, clut,
TAG_DONE);
#else
#warning FIXME: Need to use a different blitter function for OS3!
/* OS3: use BltBitMapTags() with BLTA_* tags */
BltBitMapTags(
BLTA_Width, width,
BLTA_Height, height,
BLTA_Source, adt_frame.alf_BitMap,
BLTA_SrcType, BLITT_BITMAP,
BLTA_Dest, bm_buffer,
BLTA_DestType, BLITT_RGB24,
BLTA_DestBytesPerRow, width,
BLTA_CLUT, clut,
TAG_DONE);
#endif
free(clut);

Expand Down