• Robert Sprowson's avatar
    [236] Adjust scaling factors to avoid righthand/bottom edge conditions · 8b8e0392
    Robert Sprowson authored
    source/ChangeFSI: After rounding up the scaled output size, recalculate the div/mul factors so they produce a whole number of pixels instead of falling off the end of the input array and mixing in black.
    source/DesktopFE: Remove dead variable "safe%" and change tofitx/tofity to integers.
    Minor clarification in CmdBasUse documentation.
    
    Tested with a 100x100 green sprite, scaled by 5:3/5:3 and 3:7/3:7. Fixes ticket #236.
    
    Version 1.59. Tagged as 'ChangeFSI-1_59'
    8b8e0392
VersionNum 809 Bytes