aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-11-11 15:23:44 +0000
committerPaweł Kołodziejski2009-11-11 15:23:44 +0000
commit1b3a3de946d0ba404b9666f16cfc46661512d66b (patch)
tree3093aa4dee57496a4132fbfcdeae03ca67c77a6a /backends/platform
parentb7a2c8dfe6d4ffb0297911b2bc992aefee3e9d1c (diff)
downloadscummvm-rg350-1b3a3de946d0ba404b9666f16cfc46661512d66b.tar.gz
scummvm-rg350-1b3a3de946d0ba404b9666f16cfc46661512d66b.tar.bz2
scummvm-rg350-1b3a3de946d0ba404b9666f16cfc46661512d66b.zip
samsungtv: disable selecting resolution based on aspect ratio for now
svn-id: r45837
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/samsungtv/graphics.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/samsungtv/graphics.cpp b/backends/platform/samsungtv/graphics.cpp
index b5bd3a993f..b49786515c 100644
--- a/backends/platform/samsungtv/graphics.cpp
+++ b/backends/platform/samsungtv/graphics.cpp
@@ -97,7 +97,9 @@ void OSystem_SDL_SamsungTV::initSize(uint w, uint h, const Graphics::PixelFormat
static void fixupResolutionForAspectRatio(AspectRatio desiredAspectRatio, int &width, int &height) {
assert(&width != &height);
- if (desiredAspectRatio.isAuto())
+ // FIXME: TV SDL return empty list. However TV accept any resolution
+ // Consider list fixed list or make calculation. For now it's disabled.
+// if (desiredAspectRatio.isAuto())
return;
int kw = desiredAspectRatio.kw();