Re: [AD] Memory bitmaps badly broken

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


On 2010-09-19, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> On 2010-09-19, at 1:33 PM, Trent Gamblin wrote:
> > On 2010-09-19, at 1:30 PM, Evert Glebbeek wrote:
> >> Did you try the native loader vs. the libpng-based loader?
> >> (Like the style of that artwork, by the way).
> > 
> > No, I didn't. But I now believe the problem is my fault. I've
> > got a lot of outstanding changes from months ago that we didn't
> > want to put into a 5.1 branch, so every time _anything_ changes
> > I need to fix bugs :P. It works in a fresh checkout. Also, thanks.
> 
> I tried the native loader and the libpng one, and they
> are both failing. I haven't figured it out, but it seems
> obvious what the symptoms are from this image:
> 
> http://trent.gamblin.ca/temp/ex_membmp.png
> 
> The bottom right corner seems to be being place at 0, H..
> I checked the results of the transformations before the
> triangles are drawn and they appear correct. :/

Perhaps the `pixel_size' field I added to ALLEGRO_LOCKED_REGION is not
being set.  That would be consistent with drawing each scanline from
the left of the locked region.

Otherwise try going forwards from r13721 and running `ex_blend_bench 3'.

Peter




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