tiny fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2041 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
dd6fe4889d
commit
31cd8ed9d2
|
@ -347,7 +347,8 @@ Common::PluginVideo *CPluginManager::GetVideo()
|
||||||
// -------------
|
// -------------
|
||||||
Common::PluginVideo *CPluginManager::FreeVideo()
|
Common::PluginVideo *CPluginManager::FreeVideo()
|
||||||
{
|
{
|
||||||
delete m_video;
|
if(m_video)
|
||||||
|
delete m_video;
|
||||||
m_video = NULL;
|
m_video = NULL;
|
||||||
m_video = (Common::PluginVideo*)LoadPlugin(m_params.m_strVideoPlugin.c_str(), 0);
|
m_video = (Common::PluginVideo*)LoadPlugin(m_params.m_strVideoPlugin.c_str(), 0);
|
||||||
return m_video;
|
return m_video;
|
||||||
|
|
|
@ -157,7 +157,8 @@ void Flush()
|
||||||
GL_REPORT_ERRORD();
|
GL_REPORT_ERRORD();
|
||||||
|
|
||||||
// setup the pointers
|
// setup the pointers
|
||||||
g_nativeVertexFmt->SetupVertexPointers();
|
if(g_nativeVertexFmt)
|
||||||
|
g_nativeVertexFmt->SetupVertexPointers();
|
||||||
GL_REPORT_ERRORD();
|
GL_REPORT_ERRORD();
|
||||||
|
|
||||||
// set the textures
|
// set the textures
|
||||||
|
|
|
@ -196,10 +196,6 @@ void DllConfig(HWND _hParent)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Initialize video
|
|
||||||
// ¯¯¯¯¯¯¯¯¯¯
|
|
||||||
void Initialize(void *init)
|
void Initialize(void *init)
|
||||||
{
|
{
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue