diff options
| author | Oz Linden <oz@lindenlab.com> | 2014-11-14 14:16:31 -0500 | 
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2014-11-14 14:16:31 -0500 | 
| commit | 5bc81b116e5fd507991a27a6b601e21753130274 (patch) | |
| tree | f36eb834301dba278899b79e7f5ed9fcc980fbb6 | |
| parent | 2301cf800f40101baed7a5936683d0b1e4968be1 (diff) | |
MAINT-4678: fix crash on launch in gpu benchmark
| -rwxr-xr-x | indra/llrender/llglslshader.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index b81dd4c9a1..d9e381e998 100755 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -214,7 +214,7 @@ void LLGLSLShader::startProfile()  //static  void LLGLSLShader::stopProfile(U32 count, U32 mode)  { -	if (sProfileEnabled) +	if (sProfileEnabled && sCurBoundShaderPtr)  	{  		sCurBoundShaderPtr->readProfileQuery(count, mode);  	} | 
