mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 19:00:33 +02:00
Forward resample argument correctly from VideoBuffer resize method
This commit is contained in:
@@ -47,7 +47,7 @@ void VideoBuffer::Resize(float factor, bool resample)
|
|||||||
{
|
{
|
||||||
int newWidth = ((float)Width)*factor;
|
int newWidth = ((float)Width)*factor;
|
||||||
int newHeight = ((float)Height)*factor;
|
int newHeight = ((float)Height)*factor;
|
||||||
Resize(newWidth, newHeight);
|
Resize(newWidth, newHeight, resample);
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoBuffer::Resize(int width, int height, bool resample, bool fixedRatio)
|
void VideoBuffer::Resize(int width, int height, bool resample, bool fixedRatio)
|
||||||
|
Reference in New Issue
Block a user