diff options
author | Dave Parks <davep@lindenlab.com> | 2010-05-01 00:45:44 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-05-01 00:45:44 -0500 |
commit | f324787a70b8fccc7a8ea202805bf726fba765a7 (patch) | |
tree | f002e1c3d1d9feb04bbba3d0e34e4d2dc6656eca /indra/llrender/llglslshader.cpp | |
parent | d71716aa6dde434b6356cfe85e3a8fce376056dd (diff) |
Rigged attachment integration WIP.
Diffstat (limited to 'indra/llrender/llglslshader.cpp')
-rw-r--r-- | 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 949057df04..9256e3959c 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -124,7 +124,7 @@ BOOL LLGLSLShader::createShader(vector<string> * attributes, { GLhandleARB shaderhandle = LLShaderMgr::instance()->loadShaderFile((*fileIter).first, mShaderLevel, (*fileIter).second); LL_DEBUGS("ShaderLoading") << "SHADER FILE: " << (*fileIter).first << " mShaderLevel=" << mShaderLevel << LL_ENDL; - if (mShaderLevel > 0) + if (shaderhandle > 0) { attachObject(shaderhandle); } |