Re: [AD] NewAPI Poll

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


On Tue, 2006-02-21 at 14:49 +0530, Karthik Kumar wrote:
>         
>         And the results of this poll will do what ?
>         
>         I'd vote for which ever one could allow both methods to
>         co-exists. 
>         Is is possible to have a wrapper around a state based system
>         to create
>         the alternative?
> 
> No. Once in state, it will have a storage overhead.
> 

But not much overhead, so it definitly is possible. E.g.

void non_state_putpixel(AL_BITMAP *target, int x, int y)
{
   state_select_target(target);
   state_putpixel(x, y);
}

-- 
Elias Pschernig





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