Date: Mon, 31 Oct 2005 14:23:34 +0100 From: Thomas Omilian <paccy@arcor.de> To: sdl@libsdl.org Subject: [SDL] SDL_SoftStretch() fixed!
Date: Mon, 31 Oct 2005 14:23:34 +0100
From: Thomas Omilian <paccy@arcor.de>
To: sdl@libsdl.org
Subject: [SDL] SDL_SoftStretch() fixed!

Ok, after debugging the night I found the error:

in video/SDL_stretch.c in Line 81

    /* See if we need to regenerate the copy buffer */
    if ( (src_w == last.src_w) &&
         (dst_w == last.src_w) && (bpp == last.bpp) ) {
        return(0);
    }

the second comparison should be (dst_w == last dst_w).
Perhaps someone could apply it to the source...

Regards,
  Thomas Omilian

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401167

cebash/SDL_PSL1GHT,cebash/SDL_PSL1GHT,aduros/SDL,cebash/SDL_PSL1GHT,aduros/SDL,aduros/SDL,aduros/SDL,cebash/SDL_PSL1GHT,aduros/SDL,cebash/SDL_PSL1GHT