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()