diff options
-rw-r--r-- | backends/graphics/sdl/sdl-graphics.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/graphics/sdl/sdl-graphics.cpp b/backends/graphics/sdl/sdl-graphics.cpp index e897edea06..480cf2e795 100644 --- a/backends/graphics/sdl/sdl-graphics.cpp +++ b/backends/graphics/sdl/sdl-graphics.cpp @@ -201,11 +201,11 @@ SdlGraphicsManager::~SdlGraphicsManager() { g_system->getEventManager()->getEventDispatcher()->unregisterObserver(this); unloadGFXMode(); - if (_mouseSurface) - SDL_FreeSurface(_mouseSurface); + if (_mouseSurface) + SDL_FreeSurface(_mouseSurface); _mouseSurface = 0; - if (_mouseOrigSurface) - SDL_FreeSurface(_mouseOrigSurface); + if (_mouseOrigSurface) + SDL_FreeSurface(_mouseOrigSurface); _mouseOrigSurface = 0; g_system->deleteMutex(_graphicsMutex); |