[AD] crash.. destroy_bitmap( a system bitmap );

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


msvc7.0
winxp
alg ver: 4.1.11 (WIP)
alg date: 20030630



destroy_bitmap() crashes when its a system bitmap; and you have returned to text mode.. ie set_gfx_mode(TEXT)
the  gfx_driver  ptr is NULL.

if normal procedure is to destroy system bitmaps before returning to text mode, can that be documented somewhere near the

\allegro\docs\html\alleg009.html#destroy_bitmap

current text says "Destroys a memory bitmap, sub-bitmap, video memory bitmap, or system bitmap when you are finished with it. "

maybe changed to "Destroys a memory bitmap, sub-bitmap, video memory bitmap, or system bitmap when you are finished with it, system bitmaps must be destroyed before changing screen driver."


aj.





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