OSYSTEM: Add resetGraphicsScale() method.
This fixes a hack for resetting the graphics scale to x1 when starting games that have a large screen size. The SDL graphics manager should now scale back to x1 without changing the current scaler in use, as well as the OpenGL graphics manager. svn-id: r51492
This commit is contained in:
parent
37f7748a4a
commit
9daa1c7f93
11 changed files with 32 additions and 4 deletions
|
@ -168,6 +168,10 @@ int OpenGLGraphicsManager::getGraphicsMode() const {
|
|||
return _videoMode.mode;
|
||||
}
|
||||
|
||||
void OpenGLGraphicsManager::resetGraphicsScale() {
|
||||
setScale(1);
|
||||
}
|
||||
|
||||
#ifdef USE_RGB_COLOR
|
||||
|
||||
Graphics::PixelFormat OpenGLGraphicsManager::getScreenFormat() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue