From f97809a9a62a2d8840229facb2c2b6f75e37bad3 Mon Sep 17 00:00:00 2001 From: Alejandro Marzini Date: Thu, 5 Aug 2010 06:20:44 +0000 Subject: OPENGL: Improve aspect ratio correction mode selection. svn-id: r51752 --- backends/graphics/sdl/sdl-graphics.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'backends/graphics/sdl') 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; } -- cgit v1.2.3