Re: [AD] Logic in al_draw_bitmap_region |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Logic in al_draw_bitmap_region
- From: "Trent Gamblin" <trent@xxxxxxxxxx>
- Date: Tue, 26 Feb 2008 16:29:52 -0700 (MST)
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