summaryrefslogtreecommitdiff
path: root/src/graphics
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-05-09 22:33:43 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-05-09 22:33:43 (GMT)
commite53f2bf0b5115917befc1f120a6731bca30e2024 (patch)
treefb05f2f51131f8c58b323f6f3b4c638bfa54db48 /src/graphics
parentf35f22155423e37755625161135a2866d99bc0c1 (diff)
downloadpowder-e53f2bf0b5115917befc1f120a6731bca30e2024.zip
powder-e53f2bf0b5115917befc1f120a6731bca30e2024.tar.gz
Forward resample argument correctly from VideoBuffer resize method
Diffstat (limited to 'src/graphics')
-rw-r--r--src/graphics/Graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/Graphics.cpp b/src/graphics/Graphics.cpp
index bacb421..09da936 100644
--- a/src/graphics/Graphics.cpp
+++ b/src/graphics/Graphics.cpp
@@ -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)