summaryrefslogtreecommitdiff
path: root/frontends/amiga/theme.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-02-13 18:41:38 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2017-02-13 18:41:38 +0000
commit0c32cbb7cb942a3c5845064701f04dc5b413dfad (patch)
treecf50b4f80a61a921e90cfaf271fda4e594b5e606 /frontends/amiga/theme.c
parent184348dada5ca68c0765c54061fef76408d4ed6c (diff)
downloadnetsurf-0c32cbb7cb942a3c5845064701f04dc5b413dfad.tar.gz
netsurf-0c32cbb7cb942a3c5845064701f04dc5b413dfad.tar.bz2
Try to ensure we get the correct type of native BitMap
Diffstat (limited to 'frontends/amiga/theme.c')
-rw-r--r--frontends/amiga/theme.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/amiga/theme.c b/frontends/amiga/theme.c
index 496fc5470..5e4be0710 100644
--- a/frontends/amiga/theme.c
+++ b/frontends/amiga/theme.c
@@ -47,6 +47,7 @@
#include "amiga/gui.h"
#include "amiga/drag.h"
#include "amiga/bitmap.h"
+#include "amiga/plotters.h"
#include "amiga/schedule.h"
#include "amiga/theme.h"
#include "amiga/misc.h"
@@ -179,7 +180,8 @@ void ami_theme_throbber_setup(void)
if(throbber_update_interval == 0) throbber_update_interval = 250;
bm = ami_bitmap_from_datatype(throbberfile);
- throbber = ami_bitmap_get_native(bm, bitmap_get_width(bm), bitmap_get_height(bm), NULL);
+ throbber = ami_bitmap_get_native(bm, bitmap_get_width(bm), bitmap_get_height(bm),
+ ami_plot_screen_is_palettemapped(), NULL);
throbber_nsbm = bm;
}