Ticket #8262: stretchable.diff

File stretchable.diff, 583 bytes (added by eriktorbjorn, 21 years ago)

Patch against a July 19 CVS snapshot

  • scummvm/common/scaler.cpp

    diff -ur ScummVM-cvs20030719/scummvm/common/scaler.cpp ScummVM-cvs20030719+hack/scummvm/common/scaler.cpp
    old new  
    728728#endif
    729729
    730730void makeRectStretchable(int &x, int &y, int &w, int &h) {
     731#if ASPECT_MODE != kVeryFastAndUglyAspectMode
    731732        int m = real2Aspect(y) % 6;
    732733
    733734        // Ensure that the rect will start on a line that won't have its
     
    737738                y -= m;
    738739                h += m;
    739740        }
     741#endif
    740742}
    741743
    742744/**