Skip to content
Snippets Groups Projects
Commit 48016ff5 authored by ruslantproductengine's avatar ruslantproductengine
Browse files

MAINT-6286 Viewer 4.0.3.312680 ignores settings for Shaders in Graphics...

MAINT-6286 Viewer 4.0.3.312680 ignores settings for Shaders in Graphics Preferences for ATI Radeon HD 3800 Series graphics card
parent c7e2c496
Branches
Tags
No related merge requests found
...@@ -348,6 +348,7 @@ void LLGLSLShader::unloadInternal() ...@@ -348,6 +348,7 @@ void LLGLSLShader::unloadInternal()
glGetAttachedObjectsARB(mProgramObject, sizeof(obj)/sizeof(obj[0]), &count, obj); glGetAttachedObjectsARB(mProgramObject, sizeof(obj)/sizeof(obj[0]), &count, obj);
for (GLsizei i = 0; i < count; i++) for (GLsizei i = 0; i < count; i++)
{ {
glDetachObjectARB(mProgramObject, obj[i]);
glDeleteObjectARB(obj[i]); glDeleteObjectARB(obj[i]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment