diff options
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-x | amiga/plotters.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c index 721596f02..941587ed0 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -154,10 +154,11 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height) gg->tmprasbuf = AllocVec(width * height, MEMF_PRIVATE | MEMF_CLEAR); if(palette_mapped == true) { - gg->bm = AllocBitMap(width, height, depth, BMF_INTERLEAVED, friend); + gg->bm = AllocBitMap(width, height, depth, + BMF_INTERLEAVED | BMF_DISPLAYABLE, friend); } else { gg->bm = p96AllocBitMap(width, height, 32, - BMF_INTERLEAVED, friend, RGBFB_A8R8G8B8); + BMF_INTERLEAVED | BMF_DISPLAYABLE, friend, RGBFB_A8R8G8B8); } if(!gg->bm) warn_user("NoMemory",""); |