| Re: [AD] Problem with remove_mouse() and video bitmaps. |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Peter Wang wrote:
I consider that a bug in the documentation of either show_mouse() or destroy_bitmap() or both. Making destroy_bitmap() automatically unshow the mouse would result in further unwanted couplings between the mouse and graphics routines. Just to be sure, calling show_mouse(NULL); before destroying the video bitmap had no negative side effects, correct?
That is correct. Adding show_mouse(NULL) also solved the problem that was reported on the other machine failing to change the resolution back, so it looks like the documentation needs to be changed.
AE.
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |