RE: [AD] crash! set_gfx_mode(GFX_TEXT...); vs draw_mouse()

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


Title: RE: [AD] crash! set_gfx_mode(GFX_TEXT...); vs draw_mouse()

> i do not see any reason why someone would want to set
> GFX_TEXT mode &&
> leave the mouse driver still running.

I do.

I'd rather clear the mouse screen pointer to NULL in set_gfx_mode
(so setting a gfx mode would reinitialize it again and setting
a text mode would left it cleared), and the mouse drawing code
never be called if the mouse screen is NULL.

I think that would fix the problem too.

--
Vincent Penquerc'h



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