tiny fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2041 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-01-30 17:45:02 +00:00
parent dd6fe4889d
commit 31cd8ed9d2
3 changed files with 4 additions and 6 deletions

View File

@ -347,6 +347,7 @@ Common::PluginVideo *CPluginManager::GetVideo()
// -------------
Common::PluginVideo *CPluginManager::FreeVideo()
{
if(m_video)
delete m_video;
m_video = NULL;
m_video = (Common::PluginVideo*)LoadPlugin(m_params.m_strVideoPlugin.c_str(), 0);

View File

@ -157,6 +157,7 @@ void Flush()
GL_REPORT_ERRORD();
// setup the pointers
if(g_nativeVertexFmt)
g_nativeVertexFmt->SetupVertexPointers();
GL_REPORT_ERRORD();

View File

@ -196,10 +196,6 @@ void DllConfig(HWND _hParent)
#endif
}
//////////////////////////////////////////////////////////////////////////////////////////
// Initialize video
// ¯¯¯¯¯¯¯¯¯¯
void Initialize(void *init)
{
// --------------------------------------------------