summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-12 23:07:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-12 23:28:39 +0300
commit81524e1cb634881b7c1629f7030facb308f5f853 (patch)
tree318f0ef6b48e49cb420760afd5fe2f728e35a309 /src/render/surfacegraphics.h
parent96aaa9f5d56637373fe474b0113b9e6ba083a12a (diff)
downloadmv-81524e1cb634881b7c1629f7030facb308f5f853.tar.gz
mv-81524e1cb634881b7c1629f7030facb308f5f853.tar.bz2
mv-81524e1cb634881b7c1629f7030facb308f5f853.tar.xz
mv-81524e1cb634881b7c1629f7030facb308f5f853.zip
Add option for enable high dpi mode in SDL 2.
Diffstat (limited to 'src/render/surfacegraphics.h')
-rw-r--r--src/render/surfacegraphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h
index 095b320c7..2e46c9f1e 100644
--- a/src/render/surfacegraphics.h
+++ b/src/render/surfacegraphics.h
@@ -177,7 +177,9 @@ class SurfaceGraphics 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 *restrict const image,