GRAPHICS: Ensure that _bufferedOutput is resized when the scale factor changes

This commit is contained in:
Cameron Cawley 2020-07-01 16:24:52 +01:00 committed by Filippos Karapetis
parent 99acdb00f9
commit b68dbf9eec
6 changed files with 27 additions and 11 deletions

View file

@ -3604,13 +3604,13 @@ void EdgePlugin::internScale(const uint8 *srcPtr, uint32 srcPitch,
uint EdgePlugin::increaseFactor() {
if (_factor == 2)
++_factor;
setFactor(_factor + 1);
return _factor;
}
uint EdgePlugin::decreaseFactor() {
if (_factor == 3)
--_factor;
setFactor(_factor - 1);
return _factor;
}