PS -- The http://www.cppgameprogramming.com mouse example is a perfectly good example, since if I leave off destroy_bitmap() as they did in their example, no crash will occur.
I've looked at many examples of mouse programming by Allegro users, and I have yet to see any that use show_mouse(NULL) before using destroy_bitmap(). This is the community's way of inadvertently giving feedback to the Allegro developers that the usage of show_mouse(NULL) before destroy_bitmap() doesn't make sense. No other toolkit does this type of thing, so the Allegro developers should eliminate it. So my question is, are the Allegro developers listening to their users? On 5/10/2016 at 12:16 AM, Peter Hull <[email protected]> wrote: On Tue, 10 May 2016 at 02:45 Andrew Robinson <[email protected]> wrote: That is correct. I overlooked that comment in the manual, and apparently, so did the author of the example Allegro Mouse code on the the allegro.cc website. Note that the site you mentioned (http://www.cppgameprogramming.com) is not allegro.cc or 'the allegro website'. I don't know who's site it is, but I am not very impressed with the mouse example. Pete
_______________________________________________ Allegro-developers mailing list [email protected] https://mail.gna.org/listinfo/allegro-developers
