diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-13 01:20:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-13 01:20:36 +0300 |
commit | 1f71a98b9377324bb08ba20fbfe52cbff67c49c9 (patch) | |
tree | 1d3a2f14b830f48d4f8e1a160904ca4a44d9042d /src/unittests/render/mockgraphics.cc | |
parent | 1156b6cc3d2a83e8f3bd87b3e4e9b699825e526d (diff) | |
download | mv-1f71a98b9377324bb08ba20fbfe52cbff67c49c9.tar.gz mv-1f71a98b9377324bb08ba20fbfe52cbff67c49c9.tar.bz2 mv-1f71a98b9377324bb08ba20fbfe52cbff67c49c9.tar.xz mv-1f71a98b9377324bb08ba20fbfe52cbff67c49c9.zip |
Fix unit tests compilation with SDL 1.2.
Diffstat (limited to 'src/unittests/render/mockgraphics.cc')
-rw-r--r-- | src/unittests/render/mockgraphics.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unittests/render/mockgraphics.cc b/src/unittests/render/mockgraphics.cc index b484ad4d1..29aa19af6 100644 --- a/src/unittests/render/mockgraphics.cc +++ b/src/unittests/render/mockgraphics.cc @@ -263,9 +263,10 @@ bool MockGraphics::setVideoMode(const int w, const int h, const bool fs, const bool hwaccel, const bool resize, - const bool noFrame) restrict2 + const bool noFrame, + const bool allowHighDPI) restrict2 { - setMainFlags(w, h, scale, bpp, fs, hwaccel, resize, noFrame); + setMainFlags(w, h, scale, bpp, fs, hwaccel, resize, noFrame, allowHighDPI); if ((mWindow = graphicsManager.createWindow(w, h, bpp, getSoftwareFlags())) == nullptr) |