aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.h
diff options
context:
space:
mode:
authorJohannes Schickel2008-11-14 22:08:10 +0000
committerJohannes Schickel2008-11-14 22:08:10 +0000
commit5a0556f09ca89886fda55d333745a672ea14e022 (patch)
tree698d0162a6737c298f8c6d313209e18a056f7684 /engines/engine.h
parentbb87d39424c9dee6fbfddf8b806a5675bcf39494 (diff)
downloadscummvm-rg350-5a0556f09ca89886fda55d333745a672ea14e022.tar.gz
scummvm-rg350-5a0556f09ca89886fda55d333745a672ea14e022.tar.bz2
scummvm-rg350-5a0556f09ca89886fda55d333745a672ea14e022.zip
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
Diffstat (limited to 'engines/engine.h')
-rw-r--r--engines/engine.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/engine.h b/engines/engine.h
index 5444293a36..4e16f01335 100644
--- a/engines/engine.h
+++ b/engines/engine.h
@@ -51,7 +51,18 @@ namespace GUI {
void initCommonGFX(bool defaultTo1XScaler);
/**
- * Initialized graphics and shows error message.
+ * Setup the backend's screen size and graphics mode.
+ *
+ * Shows an various warnings on certain backend graphics
+ * transaction failures (aspect switch, fullscreen switch, etc.).
+ *
+ * Errors out when backend is not able to switch to the specified
+ * mode.
+ */
+void initGraphics(int width, int height, bool defaultTo1xScaler);
+
+/**
+ * Initializes graphics and shows error message.
*/
void GUIErrorMessage(const Common::String msg);