Skip to content
Browse files

egl: hook up font loading/unloading on window init/destroy

  • Loading branch information...
1 parent 7d32a8c commit 8950b6c10c267a6f1ccf41528185e207f3379f6b Cory Fields committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/Application.cpp
View
2 xbmc/Application.cpp
@@ -928,11 +928,13 @@ bool CApplication::InitWindow()
}
// set GUI res and force the clear of the screen
g_graphicsContext.SetVideoResolution(g_guiSettings.m_LookAndFeelResolution);
+ g_fontManager.ReloadTTFFonts();
return true;
}
bool CApplication::DestroyWindow()
{
+ g_fontManager.UnloadTTFFonts();
g_Windowing.DestroyRenderSystem();
return g_Windowing.DestroyWindow();
}

0 comments on commit 8950b6c

Please sign in to comment.
Something went wrong with that request. Please try again.