-changed small thing about video cleanup, may fixes codedump

on switching themes
This commit is contained in:
fix94.1 2012-05-09 17:50:44 +00:00
parent d82d0e628f
commit 081c8c316f
3 changed files with 1 additions and 6 deletions

View File

@ -73,11 +73,6 @@ CVideo::CVideo(void) :
memset(m_frameBuf, 0, sizeof m_frameBuf); memset(m_frameBuf, 0, sizeof m_frameBuf);
} }
CVideo::~CVideo(void)
{
cleanup();
}
void CColor::blend(const CColor &src) void CColor::blend(const CColor &src)
{ {
if (src.a == 0) return; if (src.a == 0) return;

View File

@ -46,7 +46,6 @@ class CVideo
{ {
public: public:
CVideo(void); CVideo(void);
~CVideo(void);
void init(void); void init(void);
void prepare(void); void prepare(void);
void setAA(u8 aa, bool alpha = false, int width = 0, int height = 0); void setAA(u8 aa, bool alpha = false, int width = 0, int height = 0);

View File

@ -473,6 +473,7 @@ void CMenu::cleanup(bool ios_reload)
MusicPlayer::DestroyInstance(); MusicPlayer::DestroyInstance();
SoundHandler::DestroyInstance(); SoundHandler::DestroyInstance();
soundDeinit(); soundDeinit();
m_vid.cleanup();
if (!ios_reload) if (!ios_reload)
{ {
LWP_MutexDestroy(m_mutex); LWP_MutexDestroy(m_mutex);