aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler/aspect.h
diff options
context:
space:
mode:
authorThierry Crozat2018-10-21 18:35:40 +0100
committerThierry Crozat2018-10-24 23:34:41 +0200
commit3b542cea53b94bc10592a618f60c4f813e518b60 (patch)
tree1a425d7228c2140611b720e89ff7ba26c6fbbbed /graphics/scaler/aspect.h
parent2aa7f71fc0be2d1776213fda79ea850c6547bbe5 (diff)
downloadscummvm-rg350-3b542cea53b94bc10592a618f60c4f813e518b60.tar.gz
scummvm-rg350-3b542cea53b94bc10592a618f60c4f813e518b60.tar.bz2
scummvm-rg350-3b542cea53b94bc10592a618f60c4f813e518b60.zip
SURFACESDL: Respect filtering setting when performing aspect ratio correction
Diffstat (limited to 'graphics/scaler/aspect.h')
-rw-r--r--graphics/scaler/aspect.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/scaler/aspect.h b/graphics/scaler/aspect.h
index 30e13c93cd..bb082ebba0 100644
--- a/graphics/scaler/aspect.h
+++ b/graphics/scaler/aspect.h
@@ -43,18 +43,20 @@ FORCEINLINE int aspect2Real(int y) {
/**
* TODO: explain
*/
-void makeRectStretchable(int &x, int &y, int &w, int &h);
+void makeRectStretchable(int &x, int &y, int &w, int &h, bool interpolate);
/**
* TODO: explain
*/
+
int stretch200To240(uint8 *buf,
uint32 pitch,
int width,
int height,
int srcX,
int srcY,
- int origSrcY);
+ int origSrcY,
+ bool interpolate);
/**