summaryrefslogtreecommitdiff
path: root/src/openglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openglgraphics.cpp')
-rw-r--r--src/openglgraphics.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp
index 3e3085a9..b6048202 100644
--- a/src/openglgraphics.cpp
+++ b/src/openglgraphics.cpp
@@ -79,10 +79,8 @@ bool OpenGLGraphics::setVideoMode(int w, int h, int bpp, bool fs, bool hwaccel)
if (requestedRatio < targetRatio) {
// Screen is higher / narrower than target aspect ratio: calculate
// scale based on height.
- std::cout << ((double) h / 360) << std::endl;
mScale = (int) std::floor((double) h / 360);
} else {
- std::cout << ((double) w / 640) << std::endl;
mScale = (int) std::floor((double) w / 640);
}