| Re: [AD] Problem with remove_mouse() and video bitmaps. |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
The problem is:
destroy_bitmap(screen);
void destroy_bitmap(BITMAP *bmp)
{
...
bmp = NULL
}
The above won't set screen to NULL.
True, but shouldn't the screen always be valid (while there is a gfx mode set)? I think that the problem was with video bitmaps, which the above code would cover.
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |