RE: [AD] No more video/system bitmaps

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


The line pointer is going away.

You'll need to call al_acquire_bitmap_region() first, which returns you
the equivalent of a line pointer.


> -----Original Message-----
> From: alleg-developers-admin@xxxxxxxxxx [mailto:alleg-
> developers-admin@xxxxxxxxxx] On Behalf Of Chris Jones
> Sent: Tuesday, May 31, 2005 11:46 AM
> To: alleg-developers@xxxxxxxxxx
> Subject: Re: [AD] No more video/system bitmaps
> 
> No more video/system bitmaps> I propose this modification to
> al_create_bitmap():
> > Remove the "type" parameter, and add a "usage" parameter.
> 
> There would definitely need to still be a way of explicitly creating a
> memory bitmap. At the moment it's quite common to use create_bitmap
and
> then
> directly access its line[] array, knowing that it's safe to do so
because
> it's a memory bitmap.
> 
> If it could randomly get promoted to a video bitmap then that could
really
> screw things up.
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers




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