summaryrefslogtreecommitdiff
path: root/src/render/safeopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/safeopenglgraphics.cpp')
-rw-r--r--src/render/safeopenglgraphics.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp
index 43a22bea3..e65ff94b0 100644
--- a/src/render/safeopenglgraphics.cpp
+++ b/src/render/safeopenglgraphics.cpp
@@ -64,9 +64,17 @@ bool SafeOpenGLGraphics::setVideoMode(const int w, const int h,
const bool fs,
const bool hwaccel,
const bool resize,
- const bool noFrame) restrict2
-{
- setMainFlags(w, h, scale, bpp, fs, hwaccel, resize, noFrame);
+ const bool noFrame,
+ const bool allowHighDPI) restrict2
+{
+ setMainFlags(w, h,
+ scale,
+ bpp,
+ fs,
+ hwaccel,
+ resize,
+ noFrame,
+ allowHighDPI);
return setOpenGLMode();
}