diff options
| author | Johannes Schickel | 2011-08-09 14:56:38 +0200 |
|---|---|---|
| committer | Johannes Schickel | 2011-08-09 14:56:38 +0200 |
| commit | a72ab2f448b880a30dbce319808fca64c4121e40 (patch) | |
| tree | a9afc87bce148301d35421cac7d72655254c9e0f /backends/graphics/gph | |
| parent | 3fe81198ffa2f04b258e889001fc1c2a180b0350 (diff) | |
| download | scummvm-rg350-a72ab2f448b880a30dbce319808fca64c4121e40.tar.gz scummvm-rg350-a72ab2f448b880a30dbce319808fca64c4121e40.tar.bz2 scummvm-rg350-a72ab2f448b880a30dbce319808fca64c4121e40.zip | |
BACKENDS: Fix compilation.
Diffstat (limited to 'backends/graphics/gph')
| -rw-r--r-- | backends/graphics/gph/gph-graphics.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/graphics/gph/gph-graphics.cpp b/backends/graphics/gph/gph-graphics.cpp index 2e8bfa668e..96b0619a6a 100644 --- a/backends/graphics/gph/gph-graphics.cpp +++ b/backends/graphics/gph/gph-graphics.cpp @@ -141,7 +141,7 @@ void GPHGraphicsManager::initSize(uint w, uint h, const Graphics::PixelFormat *f if (w > 320 || h > 240){ setGraphicsMode(GFX_HALF); setGraphicsModeIntern(); - _sdlEventSource->toggleMouseGrab(); + _eventSource->toggleMouseGrab(); } _videoMode.overlayWidth = 320; @@ -585,7 +585,6 @@ void GPHGraphicsManager::transformMouseCoordinates(Common::Point &point) { point.x *= 2; point.y *= 2; } - g_system->getEventManager()->pushEvent(newEvent); point.x /= _videoMode.scaleFactor; point.y /= _videoMode.scaleFactor; if (_videoMode.aspectRatioCorrection) |
