Re: [AD] System bitmap bug (fix)

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


> But Allegro already provides a fallback path in create_system_bitmap!

Yes, but it sets the BMP_ID_SYSTEM anyway so you must supply the 
corresponding method in the current scheme. Every other driver provides it.

> My vote is for making create_system_bitmap() return NULL if they're not
> supported or can't be created, instead of this
> memory-bitmap-that-looks-like-a-system-bitmap-but-not-really. This seems
> rather kludgy to me.

I'm not convinced. This has worked until now and I don't see any incentive to 
modify it.

-- 
Eric Botcazou




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