Skip to content

Commit

Permalink
egl: hook up enable/disable of gui
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Fields committed Oct 10, 2012
1 parent d72df19 commit 71676a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/ApplicationMessenger.cpp
Expand Up @@ -803,12 +803,14 @@ void CApplicationMessenger::ProcessMessage(ThreadMessage *pMsg)
case TMSG_DISPLAY_SETUP:
{
*((bool*)pMsg->lpVoid) = g_application.InitWindow();
g_application.SetRenderGUI(true);
}
break;

case TMSG_DISPLAY_DESTROY:
{
*((bool*)pMsg->lpVoid) = g_application.DestroyWindow();
g_application.SetRenderGUI(false);
}
break;

Expand Down

0 comments on commit 71676a0

Please sign in to comment.