diff options
author | Alejandro Marzini | 2010-08-05 06:20:44 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-08-05 06:20:44 +0000 |
commit | f97809a9a62a2d8840229facb2c2b6f75e37bad3 (patch) | |
tree | 96d12baa85a26225842a85390de30ddbf624197d /backends/graphics/sdl | |
parent | 4b5138483e72b091bc20bba13f2130044b20c24e (diff) | |
download | scummvm-rg350-f97809a9a62a2d8840229facb2c2b6f75e37bad3.tar.gz scummvm-rg350-f97809a9a62a2d8840229facb2c2b6f75e37bad3.tar.bz2 scummvm-rg350-f97809a9a62a2d8840229facb2c2b6f75e37bad3.zip |
OPENGL: Improve aspect ratio correction mode selection.
svn-id: r51752
Diffstat (limited to 'backends/graphics/sdl')
-rw-r--r-- | backends/graphics/sdl/sdl-graphics.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/graphics/sdl/sdl-graphics.cpp b/backends/graphics/sdl/sdl-graphics.cpp index 2ffd21b686..1681d2ce7d 100644 --- a/backends/graphics/sdl/sdl-graphics.cpp +++ b/backends/graphics/sdl/sdl-graphics.cpp @@ -673,7 +673,6 @@ static void fixupResolutionForAspectRatio(AspectRatio desiredAspectRatio, int &w continue; if (mode->h * kw != mode->w * kh) continue; - //printf("%d %d\n", mode->w, mode->h); uint metric = mode->w * mode->h - w * h; if (metric > bestMetric) @@ -687,7 +686,6 @@ static void fixupResolutionForAspectRatio(AspectRatio desiredAspectRatio, int &w warning("Unable to enforce the desired aspect ratio!"); return; } - //printf("%d %d\n", bestMode->w, bestMode->h); width = bestMode->w; height = bestMode->h; } |