Re: [AD] stretch_blit bug

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


On 2007-04-20, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> Trent found a bug in the C version of stretch_blit, and specifically, it
> seems to be the same bug that at one point was fixed in the asm version
> of stretch_blit:
> 
> """
> r3020 | tjaden | 2003-02-15 02:29:39 +0100 (Sat, 15 Feb 2003) | 4 lines
> 
> Compensate for a problem in stretch_bitmap where the first column or row can
> get an extra pixel than it should do for little -> big scaling.  Fixed by me
> and Eric.  Bug reported by David Gowers and AJ.
> """
> 
> Attached is Trent's testcase. It works with the asm version, but is
> broken with the C version.
> 
> Anyone here who knows how stretch blit works (and in particular what the
> above fix did)? I was hoping to just add the same 4-line fix to the C
> version, but seems it's more complicated than that :P

I found the thread:

http://sourceforge.net/mailarchive/message.php?msg_id=5.0.2.1.0.20030211014915.021cee90%40oishii.org

As usual, I don't remember any of it :P

Peter





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