diff options
Diffstat (limited to 'backends/platform/linuxmoto')
| -rw-r--r-- | backends/platform/linuxmoto/linuxmoto-sdl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/linuxmoto/linuxmoto-sdl.cpp b/backends/platform/linuxmoto/linuxmoto-sdl.cpp index 6a44bfe882..3bee53cc9c 100644 --- a/backends/platform/linuxmoto/linuxmoto-sdl.cpp +++ b/backends/platform/linuxmoto/linuxmoto-sdl.cpp @@ -30,11 +30,11 @@ void OSystem_LINUXMOTO::initBackend() { // Create the backend custom managers - if (_eventManager == 0) - _eventManager = new LinuxmotoSdlEventSource(this); + if (_eventSource == 0) + _eventSource = new LinuxmotoSdlEventSource(); if (_graphicsManager == 0) - _graphicsManager = new LinuxmotoSdlGraphicsManager(); + _graphicsManager = new LinuxmotoSdlGraphicsManager(_eventSource); // Call parent implementation of this method OSystem_POSIX::initBackend(); |
