Re: [AD] END_OF_MAIN removal patch for msvc |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2008-11-18, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> 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?
I prefer to wait for Apple to fix their stupid library. Failing that, I
proposed an improved END_OF_MAIN-like solution earlier in the thread.
An update/polling function is even worse for creating code that won't
port easily to Mac OS X.
Peter