Normalize use of DISABLE_SCALERS. Now it really disables all scalers
except essential Normal1x. Also thumbnails get compiled unconditionally so we get them on all platforms, even those which never display them. Sorted out mess brought to sdl backend by epoc maintainer. He misused __SYMBIAN32__ where DISABLE_SCALERS is more appropriate. svn-id: r18850
This commit is contained in:
parent
a0cff37f06
commit
aa33153569
6 changed files with 29 additions and 14 deletions
|
@ -63,7 +63,7 @@ void OSystem_SDL::initBackend() {
|
|||
SDL_EnableUNICODE(1);
|
||||
|
||||
_cksumValid = false;
|
||||
#if !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
|
||||
#if !defined(_WIN32_WCE) && !defined(__SYMBIAN32__) && !defined(DISABLE_SCALERS)
|
||||
_mode = GFX_DOUBLESIZE;
|
||||
_scaleFactor = 2;
|
||||
_scalerProc = Normal2x;
|
||||
|
@ -73,7 +73,13 @@ void OSystem_SDL::initBackend() {
|
|||
_mode = GFX_NORMAL;
|
||||
_scaleFactor = 1;
|
||||
_scalerProc = Normal1x;
|
||||
|
||||
#if !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
|
||||
_fullscreen = ConfMan.getBool("fullscreen");
|
||||
#else
|
||||
_fullscreen = true;
|
||||
#endif
|
||||
|
||||
_adjustAspectRatio = false;
|
||||
#endif
|
||||
_scalerType = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue