Permalink
Browse files

egl: don't destroy the entire WindowSystem just to kill a window

  • Loading branch information...
Cory Fields
Cory Fields committed Sep 27, 2012
1 parent 8950b6c commit 52840a45a10265e329bc3485464c3b2ff5cdfb65
Showing with 0 additions and 2 deletions.
  1. +0 −1 xbmc/Application.cpp
  2. +0 −1 xbmc/ApplicationMessenger.cpp
View
@@ -935,7 +935,6 @@ bool CApplication::InitWindow()
bool CApplication::DestroyWindow()
{
g_fontManager.UnloadTTFFonts();
- g_Windowing.DestroyRenderSystem();
return g_Windowing.DestroyWindow();
}
@@ -803,7 +803,6 @@ void CApplicationMessenger::ProcessMessage(ThreadMessage *pMsg)
case TMSG_DISPLAY_SETUP:
{
*((bool*)pMsg->lpVoid) = g_application.InitWindow();
- g_application.ReloadSkin();
}
break;

0 comments on commit 52840a4

Please sign in to comment.