Re: [AD] OS X full screen resize (was Re: Allegro 5 TODOs (from wiki))

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


For those who like such anecdotes: what actually made me check whether this could be a threading issue was a problem I ran into while trying to run Allegro 4's exkeys.c through my compatibility wrapper the other day. In that example, a timer callback draws to the screen (with a comment telling users not to do that). Of course, the timer callback is called from another thread and the program crashes when it tries to draw to the screen. On account of not aiming for bug-for-bug and quirk-for-quirk compatibility, I'm not even going to try to fix this and will just consider the example to be broken.

Out of curiosity though, is there a way to draw to a display from another thread in A5?

Evert




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