diff options
author | Johannes Schickel | 2010-10-13 15:42:16 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-10-13 15:42:16 +0000 |
commit | a2b96a2516cd87203b22f7496a8d5a6b65749da3 (patch) | |
tree | 11617735d666c73cebd6979f7df32e01fb09fea1 /backends/graphics | |
parent | 75e8452b6e6a2bf4fb2f588aa00b428a60d873b5 (diff) | |
download | scummvm-rg350-a2b96a2516cd87203b22f7496a8d5a6b65749da3.tar.gz scummvm-rg350-a2b96a2516cd87203b22f7496a8d5a6b65749da3.tar.bz2 scummvm-rg350-a2b96a2516cd87203b22f7496a8d5a6b65749da3.zip |
OPENGL: Replace SdlEventManager by SdlEventSource.
Formerly SdlEventManager was a subclass of DefaultEventManager but did not
really have anything in common with the idea of our EventManager interface.
Now I made a new object SdlEventSource which only subclasses EventSource
and which is responsible for obtaining events from SDL (and processing them).
svn-id: r53433
Diffstat (limited to 'backends/graphics')
-rw-r--r-- | backends/graphics/sdl/sdl-graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/sdl/sdl-graphics.cpp b/backends/graphics/sdl/sdl-graphics.cpp index d4aad34c1e..2c0320f5d0 100644 --- a/backends/graphics/sdl/sdl-graphics.cpp +++ b/backends/graphics/sdl/sdl-graphics.cpp @@ -821,7 +821,7 @@ bool SdlGraphicsManager::loadGFXMode() { SDL_SetColorKey(_osdSurface, SDL_RLEACCEL | SDL_SRCCOLORKEY | SDL_SRCALPHA, kOSDColorKey); #endif - ((SdlEventManager *)g_system->getEventManager())->resetKeyboadEmulation( + ((SdlEventSource *)g_system)->resetKeyboadEmulation( _videoMode.screenWidth * _videoMode.scaleFactor - 1, effectiveScreenHeight() - 1); |