• Ryan C. Gordon's avatar
    Date: Mon, 31 Oct 2005 14:23:34 +0100 · 80fea81d
    Ryan C. Gordon authored
    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
    80fea81d
SDL_stretch.c 7.6 KB