GRAPHICS: Ensure that _bufferedOutput is resized when the scale factor changes
This commit is contained in:
parent
99acdb00f9
commit
b68dbf9eec
6 changed files with 27 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue