Re: [AD] Adding ASSERTS to enforce sequential usage of (un)select_palette

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


On 2004-12-11, Chris <chris.kcat@xxxxxxxxxx> wrote:
> Daniel Schlyder wrote:
> >Peter Wang:
> >>Is this correct?  I was under the impression that
> >>select_palette could be called many times in succession,
> >>without unselect_palette in between.
> >
> >I hope so. I've been using it that way all over the place.
> 
> I would think you could call select_palette as much as you want,
> too..  just like set_palette (you'd just lose the previously
> stored palette).  Although I wouldn't mind an assert for one
> unselect_palette at a time.

I've commited the assert for unselect_palette().




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