fix bug when rasterfont disappears sometimes

This commit is contained in:
degasus
2013-01-25 20:39:19 +01:00
parent 41b1128fdd
commit 13e9bb56f8
3 changed files with 60 additions and 51 deletions

View File

@ -202,6 +202,7 @@ void VideoBackend::Video_Prepare()
PixelShaderManager::Init();
ProgramShaderCache::Init();
PostProcessing::Init();
Renderer::Init();
GL_REPORT_ERRORD();
VertexLoaderManager::Init();
TextureConverter::Init();
@ -226,6 +227,7 @@ void VideoBackend::Shutdown()
// The following calls are NOT Thread Safe
// And need to be called from the video thread
Renderer::Shutdown();
TextureConverter::Shutdown();
VertexLoaderManager::Shutdown();
ProgramShaderCache::Shutdown();