Re: [AD] Problem with remove_mouse() and video bitmaps. |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
On Fri, 2005-12-30 at 15:05 +0200, Stef wrote: > > This is orthogonal to the documentation issue (ie. that one should not use > a non-valid bitmap as a target, or crashes may occur). > > Does this seem reasonal? > The problem is: destroy_bitmap(screen); void destroy_bitmap(BITMAP *bmp) { ... bmp = NULL } The above won't set screen to NULL. -- Elias Pschernig
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |