diff options
author | prep <prep@lindenlab.com> | 2011-01-05 14:09:19 -0500 |
---|---|---|
committer | prep <prep@lindenlab.com> | 2011-01-05 14:09:19 -0500 |
commit | c20f9342b9632c4e5480faa5d4e6be26c75e1157 (patch) | |
tree | af0dfe2156e70a48ec1ce3a0483a52fb5e9bcbbe /indra | |
parent | 875d36b083582a2c5afdc8f515f203f331269312 (diff) |
patch for gl_any_samples_passed missing define on mac
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index cb72f35eee..1b5800b8a5 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -1619,7 +1619,7 @@ void LLSpatialGroup::doOcclusion(LLCamera* camera) { glEnable(GL_DEPTH_CLAMP); } - +#if !LL_DARWIN U32 mode = gGLManager.mHasOcclusionQuery2 ? GL_ANY_SAMPLES_PASSED : GL_SAMPLES_PASSED_ARB; glBeginQueryARB(mode, mOcclusionQuery[LLViewerCamera::sCurCameraID]); @@ -1637,7 +1637,7 @@ void LLSpatialGroup::doOcclusion(LLCamera* camera) } glEndQueryARB(mode); - +#endif if (use_depth_clamp) { glDisable(GL_DEPTH_CLAMP); |