diff options
author | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2016-04-12 19:29:35 +0300 |
---|---|---|
committer | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2016-04-12 19:29:35 +0300 |
commit | 48016ff54bced607ba11bb02825974b5133ada34 (patch) | |
tree | f401da28cfd6ae4d411e2119c5e7423574e2a1d8 /indra/llrender | |
parent | c7e2c496ab413d4d9823845fedba82e67e5ed51c (diff) |
MAINT-6286 Viewer 4.0.3.312680 ignores settings for Shaders in Graphics Preferences for ATI Radeon HD 3800 Series graphics card
Diffstat (limited to 'indra/llrender')
-rwxr-xr-x | indra/llrender/llglslshader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index 750e35a71a..b30bc1aed6 100755 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -348,6 +348,7 @@ void LLGLSLShader::unloadInternal() glGetAttachedObjectsARB(mProgramObject, sizeof(obj)/sizeof(obj[0]), &count, obj); for (GLsizei i = 0; i < count; i++) { + glDetachObjectARB(mProgramObject, obj[i]); glDeleteObjectARB(obj[i]); } |