diff options
author | Dave Parks <davep@lindenlab.com> | 2012-02-13 18:26:48 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-02-13 18:26:48 -0600 |
commit | 3267b42ee521a7a059e0e87cba75a3d32af678e5 (patch) | |
tree | df315e7502aea80c22e6e42b8fe68a7439491622 | |
parent | 64c89ee2c51c539d38d4d55807b18172d6606514 (diff) |
SH-2908 Temporary fix for mac build
-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 a879a18895..4b7e639aed 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -109,7 +109,9 @@ void LLGLSLShader::unload() glGetAttachedObjectsARB(mProgramObject, 1024, &count, obj); for (GLsizei i = 0; i < count; i++) { +#if !LL_DARWIN if (glIsProgramARB(obj[i])) +#endif { glDeleteObjectARB(obj[i]); } |