Re: [AD] win32 allegro_exit() blocks on non-active Window |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
At 03:13 PM 24/05/2003 +0200, you wrote:
> when i call allegro_exit() it blocks until its made the active window. Which switch mode do you use? Does it make any difference to set SWITCH_BACKGROUND just before exiting, assuming you have already called set_gfx_mode(TEXT)?
i already have run in background set, and it works (it continues to run whilst non-active window ).
i also tried setting set_display_switch_mode( SWITCH_BACKGROUND) just before the allegro_exit() but it hanged (blocked infinite). i guess you can't call set_display_switch_mode() when the allegro_wnd is no longer visibile.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |