Re: [AD] clipping line algorithm |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Eric Botcazou wrote:
Not sure I understand what you mean: the current code uses bmp->vtable->putpixel, so that should be fine. My suggestion is to detect the special cases where it is possible to use _putpixel, and these cases don't include special screen bitmaps.Sure, but how do you detect these special cases?
With is_linear_bitmap(), according to its own documentation? See http://alleg.sourceforge.net/onlinedocs/en/index009.html#is_linear_bitmap
-- Sven
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |