Re: [AD] END_OF_MAIN removal patch for msvc

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


On November 18, 2008, Peter Wang wrote:
> On 2008-11-18, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > Wait, didn't allegro specifically go to an event loop and whatnot to get
> > around this little problem? al_init() initializes any internal lib state,
> > and the event loop gives allegro time to "do its thing" when needed
> > without having an explicit al_update_allegro(); api.
>
> No, that's not what the event system was designed for and that's not how
> it works.

Probably not.

So whats the alternative then? Try and be too clever? or just export a simple 
update function?

What do you prefer?

> Peter
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




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