SDL/GRAPHICS: remove disableScaling() hack from scaler plugins
This commit is contained in:
parent
90e855d1ab
commit
c8bcb3912f
7 changed files with 12 additions and 46 deletions
|
@ -73,10 +73,6 @@ void Normal4x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPit
|
|||
|
||||
void NormalPlugin::scale(const uint8 *srcPtr, uint32 srcPitch,
|
||||
uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y) {
|
||||
if (!_doScale) {
|
||||
Normal1x(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
|
||||
return;
|
||||
}
|
||||
switch (_factor) {
|
||||
case 1:
|
||||
Normal1x(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue