[AD] Common error documentation

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


In addition to FAQ we could also have Common error section which will have, well common errors. Few examples are: creating bitmap before loading (memory leak), semicolon at END_OF_MAIN (warnings), calling set_color_depth without set_gfx_mode after (bitmaps if one depth and screen of other, using variables to store bitmap size (most new people doesn't know about ->w and ->h), creating bitmaps in global objects ctor/ dtor (crash) and others.


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