Actually save current Post Process Effect at logout

Also properly cleanup Post Process Singleton
This commit is contained in:
Lirusaito
2019-03-23 05:01:13 -04:00
parent a14df55bd8
commit 424221201c

View File

@@ -502,8 +502,8 @@ void LLPostProcess::destroyGL()
/*static*/void LLPostProcess::cleanupClass()
{
if(instanceExists())
getInstance()->destroyGL() ;
if (instanceExists())
deleteSingleton();
}
void LLPostProcess::copyFrameBuffer()