From 424221201cd1b69120060390b5153ca907b87dd6 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Sat, 23 Mar 2019 05:01:13 -0400 Subject: [PATCH] Actually save current Post Process Effect at logout Also properly cleanup Post Process Singleton --- indra/llrender/llpostprocess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llrender/llpostprocess.cpp b/indra/llrender/llpostprocess.cpp index 505dcf670..0096525f0 100644 --- a/indra/llrender/llpostprocess.cpp +++ b/indra/llrender/llpostprocess.cpp @@ -502,8 +502,8 @@ void LLPostProcess::destroyGL() /*static*/void LLPostProcess::cleanupClass() { - if(instanceExists()) - getInstance()->destroyGL() ; + if (instanceExists()) + deleteSingleton(); } void LLPostProcess::copyFrameBuffer()