Re: [AD] malloc() vs align_malloc()

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


> > so if i was to ensure the dat was large enough, then set all the line
> > ptrs to aligned addresses, the rest of allegro should work just fine ?
> > or do some functions use  dat[y*pitch+w]  arithmetic?
> 
> 
> It should, in theory. I don't think anything in Allegro depends on
> dat[], but one can never be too sure. You can just try it and see if you
> find corruption in some of the tests.

Any more news on this?

Evert




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