diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/sdl/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp index 054ca9922b..b733921b65 100644 --- a/backends/sdl/graphics.cpp +++ b/backends/sdl/graphics.cpp @@ -1454,7 +1454,7 @@ void OSystem_SDL::undrawMouse() { } void OSystem_SDL::drawMouse() { - if (!_mouseVisible) { + if (!_mouseVisible || !_mouseSurface) { _mouseBackup.x = _mouseBackup.y = _mouseBackup.w = _mouseBackup.h = 0; return; } |