Skip to content
Snippets Groups Projects
Commit 3267b42e authored by David Parks's avatar David Parks
Browse files

SH-2908 Temporary fix for mac build

parent 64c89ee2
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,9 @@ void LLGLSLShader::unload() ...@@ -109,7 +109,9 @@ void LLGLSLShader::unload()
glGetAttachedObjectsARB(mProgramObject, 1024, &count, obj); glGetAttachedObjectsARB(mProgramObject, 1024, &count, obj);
for (GLsizei i = 0; i < count; i++) for (GLsizei i = 0; i < count; i++)
{ {
#if !LL_DARWIN
if (glIsProgramARB(obj[i])) if (glIsProgramARB(obj[i]))
#endif
{ {
glDeleteObjectARB(obj[i]); glDeleteObjectARB(obj[i]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment