diff --git a/source/gui/video.cpp b/source/gui/video.cpp index 02da8ed4..3f2a4f99 100644 --- a/source/gui/video.cpp +++ b/source/gui/video.cpp @@ -73,11 +73,6 @@ CVideo::CVideo(void) : memset(m_frameBuf, 0, sizeof m_frameBuf); } -CVideo::~CVideo(void) -{ - cleanup(); -} - void CColor::blend(const CColor &src) { if (src.a == 0) return; diff --git a/source/gui/video.hpp b/source/gui/video.hpp index 2c413794..85b4154b 100644 --- a/source/gui/video.hpp +++ b/source/gui/video.hpp @@ -46,7 +46,6 @@ class CVideo { public: CVideo(void); - ~CVideo(void); void init(void); void prepare(void); void setAA(u8 aa, bool alpha = false, int width = 0, int height = 0); diff --git a/source/menu/menu.cpp b/source/menu/menu.cpp index 5583d04f..b18721bd 100644 --- a/source/menu/menu.cpp +++ b/source/menu/menu.cpp @@ -473,6 +473,7 @@ void CMenu::cleanup(bool ios_reload) MusicPlayer::DestroyInstance(); SoundHandler::DestroyInstance(); soundDeinit(); + m_vid.cleanup(); if (!ios_reload) { LWP_MutexDestroy(m_mutex);