[AD] Screen destruction documentation update

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


After seeing several instances of people calling
destroy_bitmap(screen) over at allegro.cc, I thought perhaps the
documentation wasn't clear enough on the subject.

Attached is a tiny documentation update to hopefully remedy this problem.

/T

-- 
Feed me a stray cat.
--- docs/src/allegro._tx	Thu Sep  8 19:21:06 2005 UTC
+++ docs/src/allegro._tx	Fri Sep 09 11:05:07 2005 UTC
@@ -4570,7 +4570,8 @@ Allegro supports several different types
 <ul><li>
      The `screen' bitmap, which represents the hardware video memory.
      Ultimately you have to draw onto this in order for your image to be 
-     visible. It is destroyed by any subsequent calls to set_gfx_mode().
+     visible. It is destroyed by any subsequent calls to set_gfx_mode(),
+     so you should never attempt to destroy it yourself.
 <li>
      Memory bitmaps, which are located in system RAM and can be used to
      store graphics or as temporary drawing spaces for double buffered 


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