void CLocalGUI::Invalidate ( void ) { CGUI* pGUI = CCore::GetSingleton ().GetGUI (); // Invalidate the GUI if ( pGUI ) { pGUI->Invalidate ( ); } else { WriteDebugEvent ( "WARNING: CLocalGUI::Invalidate() called, but CLocalGUI::CreateObjects() isn't!" ); } }
void CLocalGUI::Invalidate ( void ) { CGUI* pGUI = CCore::GetSingleton ().GetGUI (); // Invalidate the GUI if ( pGUI ) { pGUI->Invalidate ( ); } else { WriteDebugEvent ( "WARNING: CLocalGUI::Invalidate() called, but CLocalGUI::CreateObjects() isn't!" ); } // Invalidate the renderer library if ( m_pRendererLibrary ) { m_pRendererLibrary->OnInvalidateDevice ( ); } else { WriteDebugEvent ( "WARNING: CLocalGUI::Invalidate() called, but CLocalGUI::CreateObjects() isn't!" ); } }