Re: [AD] Logic in al_draw_bitmap_region

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tue, February 26, 2008 2:26 pm, Peter Hull said:
[snip]
> As far as I can see, there are two problems:
> 1. If the target is memory, it should call the generic function, not
> the display driver
> 2. If the bitmaps are from incompatible displays, it should fall
> back
> to using a memory-to-display blit, not do nothing.
>
> Is this correct? I can make a patch if so. Otherwise I've understood
> it wrong, sorry!
>
> Pete


I think you're right. The display driver memory blit is supposed to
draw memory bitmaps to the target, but if the target is a memory
bitmap, it can be done by the generic function. And as for 2, yes,
it should fall back on the generic function I would think.

Trent




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/