aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
diff options
context:
space:
mode:
authorvanfanel2015-07-24 12:04:51 +0200
committervanfanel2015-07-24 12:04:51 +0200
commitfcbecdeaf6adb87424d44abe9a338ddd58257774 (patch)
tree2165d871913aa650b700e29a4cb4f07724ce7d3d /backends/graphics
parent8382e87baad83d0a9c4201f2fa3851f653f3bbb5 (diff)
downloadscummvm-rg350-fcbecdeaf6adb87424d44abe9a338ddd58257774.tar.gz
scummvm-rg350-fcbecdeaf6adb87424d44abe9a338ddd58257774.tar.bz2
scummvm-rg350-fcbecdeaf6adb87424d44abe9a338ddd58257774.zip
SDL/DISPMANX: Corrected hasFeature() return values and made setFullScreenMode() ignore the enable value.
Diffstat (limited to 'backends/graphics')
-rw-r--r--backends/graphics/dispmanxsdl/dispmanxsdl-graphics.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/graphics/dispmanxsdl/dispmanxsdl-graphics.cpp b/backends/graphics/dispmanxsdl/dispmanxsdl-graphics.cpp
index 7760005d1f..28f1cc1367 100644
--- a/backends/graphics/dispmanxsdl/dispmanxsdl-graphics.cpp
+++ b/backends/graphics/dispmanxsdl/dispmanxsdl-graphics.cpp
@@ -566,11 +566,13 @@ bool DispmanXSdlGraphicsManager::handleScalerHotkeys(Common::KeyCode key) {
bool DispmanXSdlGraphicsManager::hasFeature(OSystem::Feature f) {
if (f == OSystem::kFeatureFullscreenMode) {
return false;
+ } else {
+ return SurfaceSdlGraphicsManager::hasFeature(f);
}
}
void DispmanXSdlGraphicsManager::setFullscreenMode(bool enable) {
- _videoMode.fullscreen = enable;
+ // Since we're always in fullscreen mode, we do nothing here.
}
void DispmanXSdlGraphicsManager::setAspectRatioCorrection(bool enable) {