RE: [AD] minor issues

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


Lines aren't aligned in Allegro. If you have an 8-bpp 7-pixel wide
bitmap, 7 of every 8 lines won't be 8-byte aligned. It would be nice to
add this, but it's likely to break existing code that assumes


Are we going to support people that make presumptions, and then bow down to there mistakes ? i dont think i have ever read in the documentation anything about memory being continuous, or any guarantee it would ever be so. What i have read is that if you want to access pixels, you use the bitmap->line[] not the bitmap->dat[]
allegro docs: "Direct access to video memory"



 contiguous
memory for memory bitmaps that aren't subbitmaps.





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