Skip to content

Commit

Permalink
SDL: Fix return value of getDefaultGraphicsMode when scalers are disa…
Browse files Browse the repository at this point in the history
…bled.
  • Loading branch information
Johannes Schickel committed Jan 7, 2014
1 parent 01269c2 commit 97953ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backends/graphics/surfacesdl/surfacesdl-graphics.cpp
Expand Up @@ -267,7 +267,11 @@ const OSystem::GraphicsMode *SurfaceSdlGraphicsManager::getSupportedGraphicsMode
}

int SurfaceSdlGraphicsManager::getDefaultGraphicsMode() const {
#ifdef USE_SCALERS
return GFX_DOUBLESIZE;
#else
return GFX_NORMAL;
#endif
}

void SurfaceSdlGraphicsManager::resetGraphicsScale() {
Expand Down

0 comments on commit 97953ff

Please sign in to comment.