summaryrefslogtreecommitdiff
path: root/amiga/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/bitmap.c')
-rw-r--r--amiga/bitmap.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c
index 0190ed0b3..3358265d1 100644
--- a/amiga/bitmap.c
+++ b/amiga/bitmap.c
@@ -351,7 +351,15 @@ struct bitmap *ami_bitmap_from_datatype(char *filename)
return bm;
}
-
+struct BitMap *ami_bitmap_get_native(struct bitmap *bitmap,
+ int width, int height, struct BitMap *friendbm)
+{
+ if(ami_plot_screen_is_palettemapped() == true) {
+ return ami_bitmap_get_palettemapped(bitmap, width, height);
+ } else {
+ return ami_getcachenativebm(bitmap, width, height, friendbm);
+ }
+}
struct BitMap *ami_getcachenativebm(struct bitmap *bitmap,int width,int height,struct BitMap *friendbm)
{