[Scummvm-cvs-logs] scummvm master -> 8add05f9b3bcbba4593f78b2917c81a638583f34
dhewg
dhewg at wiibrew.org
Sat Feb 26 11:02:59 CET 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
8add05f9b3 BASEBACKEND: Remove resetGraphicsScale() hack
Commit: 8add05f9b3bcbba4593f78b2917c81a638583f34
https://github.com/scummvm/scummvm/commit/8add05f9b3bcbba4593f78b2917c81a638583f34
Author: dhewg (dhewg at wiibrew.org)
Date: 2011-02-26T01:55:27-08:00
Commit Message:
BASEBACKEND: Remove resetGraphicsScale() hack
All backends that derive from BaseBackend are consoles and/or portables
without any connection from graphics modes to scalers.
The default implementation of resetGraphicsScale() is now a noop, which
seems correct for all current backends.
This fixes unwanted mode changes since 93fdcbfa.
Changed paths:
backends/base-backend.cpp
diff --git a/backends/base-backend.cpp b/backends/base-backend.cpp
index 42ab7b8..f349cc8 100644
--- a/backends/base-backend.cpp
+++ b/backends/base-backend.cpp
@@ -101,7 +101,4 @@ AudioCDManager *BaseBackend::getAudioCDManager() {
}
void BaseBackend::resetGraphicsScale() {
- // As a hack, we use 0 here. Backends should override this method
- // and provide their own.
- setGraphicsMode(0);
}
More information about the Scummvm-git-logs
mailing list