From 81524e1cb634881b7c1629f7030facb308f5f853 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 12 Sep 2017 23:07:39 +0300 Subject: Add option for enable high dpi mode in SDL 2. --- src/render/imagegraphics.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/render/imagegraphics.h') diff --git a/src/render/imagegraphics.h b/src/render/imagegraphics.h index fde338ec3..2b3e5bd71 100644 --- a/src/render/imagegraphics.h +++ b/src/render/imagegraphics.h @@ -168,7 +168,9 @@ class ImegeGraphics final : public Graphics const int bpp A_UNUSED, const bool fs A_UNUSED, const bool hwaccel A_UNUSED, const bool resize A_UNUSED, - const bool noFrame A_UNUSED) restrict2 override final + const bool noFrame A_UNUSED, + const bool allowHighDPI A_UNUSED) + restrict2 override final { return false; } void drawImage(const Image *const image, -- cgit v1.2.3-70-g09d2