MAINT-6286 Viewer 4.0.3.312680 ignores settings for Shaders in Graphics Preferences for ATI Radeon HD 3800 Series graphics card
parent
c7e2c496ab
commit
48016ff54b
|
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue