From 38b6ec1483f57cdcddb5f37567f4498d3354cbc5 Mon Sep 17 00:00:00 2001 From: twilen Date: Sat, 14 Jun 2014 16:27:58 +0000 Subject: [PATCH] Partially revert r45687, since m68k-amiga blitter support was added, all planar bitmaps have to be in chip ram. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@49071 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/hidds/graphics/planarbm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rom/hidds/graphics/planarbm.c b/rom/hidds/graphics/planarbm.c index 207ff57c98..9adcee520a 100644 --- a/rom/hidds/graphics/planarbm.c +++ b/rom/hidds/graphics/planarbm.c @@ -174,12 +174,10 @@ OOP_Object *PBM__Root__New(OOP_Class *cl, OOP_Object *o, struct pRoot_New *msg) if (displayable) data->bitmap->Flags |= BMF_DISPLAYABLE; - /* Allocate memory for all the planes. - * Use chip memory only if BMF_DISPLAYABLE. - */ + /* Allocate memory for all the planes. Use chip memory. */ for (i = 0; i < depth; i++) { - data->bitmap->Planes[i] = AllocMem(height * bytesperrow, MEMF_PUBLIC | (displayable ? MEMF_CHIP : 0) | MEMF_CLEAR); + data->bitmap->Planes[i] = AllocMem(height * bytesperrow, MEMF_CHIP | MEMF_CLEAR); if (NULL == data->bitmap->Planes[i]) { -- 2.11.4.GIT