diff options
author | Dave Parks <davep@lindenlab.com> | 2011-08-10 13:01:14 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-08-10 13:01:14 -0500 |
commit | 2ee815478043c4d5845f094f744a055707dba0e0 (patch) | |
tree | 7a34bf2b60eaf609af9f3e8dab20268ed720d75c /indra/llrender/llglslshader.cpp | |
parent | f076bdf609ec1fe114a7d0222a318483c97c7a26 (diff) |
SH-2238, SH-2223, SH-SH-2242 glVertexAttrib throughout main render pipeline complete, preview renders and debug displays still pending. Also fixed a render glitch and a crash (JIRAs listed).
Diffstat (limited to 'indra/llrender/llglslshader.cpp')
-rw-r--r-- | indra/llrender/llglslshader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index b6cb84d10c..02bcc9e338 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -934,7 +934,9 @@ void LLGLSLShader::uniform4fv(const string& uniform, U32 count, const GLfloat* v std::map<GLint, LLVector4>::iterator iter = mValue.find(location); if (iter == mValue.end() || shouldChange(iter->second,vec) || count != 1) { + stop_glerror(); glUniform4fvARB(location, count, v); + stop_glerror(); mValue[location] = vec; } } |