aboutsummaryrefslogtreecommitdiff
path: root/engines/util.h
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/util.h
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/util.h')
-rw-r--r--engines/util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/util.h b/engines/util.h
index 0e7b1e118b..fdac02f005 100644
--- a/engines/util.h
+++ b/engines/util.h
@@ -30,7 +30,7 @@
/**
* Setup the backend's graphics mode.
*/
-void initCommonGFX(bool defaultTo1XScaler);
+void initCommonGFX();
/**
* Setup the backend's screen size and graphics mode.
@@ -45,8 +45,8 @@ void initCommonGFX(bool defaultTo1XScaler);
* Uses the backend's preferred format if graphics format pointer is NULL.
* Finds the best compatible format if a list of graphics formats is provided.
*/
-void initGraphics(int width, int height, bool defaultTo1xScaler);
-void initGraphics(int width, int height, bool defaultTo1xScaler, const Graphics::PixelFormat *format);
-void initGraphics(int width, int height, bool defaultTo1xScaler, const Common::List<Graphics::PixelFormat> &formatList);
+void initGraphics(int width, int height);
+void initGraphics(int width, int height, const Graphics::PixelFormat *format);
+void initGraphics(int width, int height, const Common::List<Graphics::PixelFormat> &formatList);
#endif