diff options
author | Johannes Schickel | 2011-08-09 00:04:19 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-08-09 00:04:19 +0200 |
commit | fd61a83bb52febb2d620d858d6685c8232251105 (patch) | |
tree | c90201a13d45c73884a4015327dd3f84a1ab45e8 /backends/graphics/surfacesdl/surfacesdl-graphics.cpp | |
parent | 04ab0e58b4142bf58db2180a2bac6897821d069f (diff) | |
download | scummvm-rg350-fd61a83bb52febb2d620d858d6685c8232251105.tar.gz scummvm-rg350-fd61a83bb52febb2d620d858d6685c8232251105.tar.bz2 scummvm-rg350-fd61a83bb52febb2d620d858d6685c8232251105.zip |
SDL: Slight clean up in the surface based graphics manager.
Diffstat (limited to 'backends/graphics/surfacesdl/surfacesdl-graphics.cpp')
-rw-r--r-- | backends/graphics/surfacesdl/surfacesdl-graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp index f2dfdb8ff3..81c439e7e2 100644 --- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp +++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp @@ -122,7 +122,7 @@ static AspectRatio getDesiredAspectRatio() { SurfaceSdlGraphicsManager::SurfaceSdlGraphicsManager(SdlEventSource *sdlEventSource) : - SdlGraphicsManager(sdlEventSource), _sdlEventSource(sdlEventSource), + SdlGraphicsManager(sdlEventSource), #ifdef USE_OSD _osdSurface(0), _osdAlpha(SDL_ALPHA_TRANSPARENT), _osdFadeStartTime(0), #endif @@ -846,7 +846,7 @@ bool SurfaceSdlGraphicsManager::loadGFXMode() { SDL_SetColorKey(_osdSurface, SDL_RLEACCEL | SDL_SRCCOLORKEY | SDL_SRCALPHA, kOSDColorKey); #endif - _sdlEventSource->resetKeyboadEmulation( + _eventSource->resetKeyboadEmulation( _videoMode.screenWidth * _videoMode.scaleFactor - 1, effectiveScreenHeight() - 1); |