summaryrefslogtreecommitdiff
path: root/src/openglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openglgraphics.cpp')
-rw-r--r--src/openglgraphics.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp
index 14c32a95..65e24e51 100644
--- a/src/openglgraphics.cpp
+++ b/src/openglgraphics.cpp
@@ -74,7 +74,6 @@ bool OpenGLGraphics::setVideoMode(int w, int h, int bpp, bool fs, bool hwaccel)
const double targetRatio = (double) 640 / 360; // 1.77778
const double requestedRatio = (double) w / h;
- mScale = 1;
if (requestedRatio < targetRatio) {
// Screen is higher / narrower than target aspect ratio: calculate