Re: [AD] acquire_screen() crashed al4.1.11/msvc6/win2k.

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


> acquire_screen()  crashed.
>
> my system:
>
> allegro 4.1.11
> msvc6
> win2k.
>
>
> it occured when the allegro had lost focus.

Do you invoke it manually? If so, could you give more detailed information on 
the context?

> i suspect there is no check in the acquire_screen()  that checks if the
> allegro window is the active window and/or is not iconified.

That's not needed: the DirectX call returns DDERR_SURFACELOST if it can't 
lock the surface.

-- 
Eric Botcazou




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