Forward resample argument correctly from VideoBuffer resize method

This commit is contained in:
Simon Robertshaw 2013-05-09 23:33:43 +01:00
parent f35f221554
commit e53f2bf0b5

View File

@ -47,7 +47,7 @@ void VideoBuffer::Resize(float factor, bool resample)
{
int newWidth = ((float)Width)*factor;
int newHeight = ((float)Height)*factor;
Resize(newWidth, newHeight);
Resize(newWidth, newHeight, resample);
}
void VideoBuffer::Resize(int width, int height, bool resample, bool fixedRatio)