aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorColin Snover2017-10-01 00:56:01 -0500
committerColin Snover2017-10-07 12:30:29 -0500
commit432fd522d243f0779d2ebf99e8983dbb95cdd175 (patch)
tree85532da09a21511230923eb8a4acc7ac15bda966 /engines/sherlock
parentebe6c40a6abb2789349c2b6471eef24ac270ab94 (diff)
downloadscummvm-rg350-432fd522d243f0779d2ebf99e8983dbb95cdd175.tar.gz
scummvm-rg350-432fd522d243f0779d2ebf99e8983dbb95cdd175.tar.bz2
scummvm-rg350-432fd522d243f0779d2ebf99e8983dbb95cdd175.zip
ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons: * Engines universally set this flag to true for widths > 320, which made it redundant everywhere; * This flag functioned primarily as a "force 1x scaler" flag, since its behaviour was almost completely undocumented and users would need to figure out that they'd need an explicit non-default scaler set to get a scaler to operate at widths > 320; * (Most importantly) engines should not be in the business of deciding how the backend may choose to render its virtual screen. The choice of rendering behaviour belongs to the user, and the backend, in that order. A nearby future commit restores the default1x scaler behaviour in the SDL backend code for the moment, but in the future it is my hope that there will be a better configuration UI to allow users to specify how they want scaling to work for high resolutions.
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/scalpel/scalpel.cpp6
-rw-r--r--engines/sherlock/tattoo/tattoo.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp
index 5050062938..2aa6ae8902 100644
--- a/engines/sherlock/scalpel/scalpel.cpp
+++ b/engines/sherlock/scalpel/scalpel.cpp
@@ -251,14 +251,14 @@ ScalpelEngine::~ScalpelEngine() {
void ScalpelEngine::setupGraphics() {
if (getPlatform() != Common::kPlatform3DO) {
// 320x200 palettized
- initGraphics(320, 200, false);
+ initGraphics(320, 200);
} else {
// 3DO actually uses RGB555, but some platforms of ours only support RGB565, so we use that
const Graphics::PixelFormat pixelFormatRGB565 = Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0);
// First try for a 640x400 mode
g_system->beginGFXTransaction();
- initCommonGFX(true);
+ initCommonGFX();
g_system->initSize(640, 400, &pixelFormatRGB565);
OSystem::TransactionError gfxError = g_system->endGFXTransaction();
@@ -266,7 +266,7 @@ void ScalpelEngine::setupGraphics() {
_isScreenDoubled = true;
} else {
// System doesn't support it, so fall back on 320x200 mode
- initGraphics(320, 200, false, &pixelFormatRGB565);
+ initGraphics(320, 200, &pixelFormatRGB565);
}
}
}
diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp
index 31a65783e3..38466a9459 100644
--- a/engines/sherlock/tattoo/tattoo.cpp
+++ b/engines/sherlock/tattoo/tattoo.cpp
@@ -51,7 +51,7 @@ void TattooEngine::showOpening() {
}
void TattooEngine::initialize() {
- initGraphics(640, 480, true);
+ initGraphics(640, 480);
// Initialize the base engine
SherlockEngine::initialize();