Skip to content
Snippets Groups Projects
Commit 11400372 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix GL check

parent 7f9ab127
Branches
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -1212,7 +1212,7 @@ void LLOcclusionCullingGroup::doOcclusion(LLCamera* camera, const LLVector4a* sh ...@@ -1212,7 +1212,7 @@ void LLOcclusionCullingGroup::doOcclusion(LLCamera* camera, const LLVector4a* sh
LLGLEnable clamp(use_depth_clamp ? GL_DEPTH_CLAMP : 0); LLGLEnable clamp(use_depth_clamp ? GL_DEPTH_CLAMP : 0);
U32 mode = gGLManager.mGLVersion >= 3.3f ? GL_ANY_SAMPLES_PASSED : GL_SAMPLES_PASSED; U32 mode = gGLManager.mGLVersion >= 3.29f ? GL_ANY_SAMPLES_PASSED : GL_SAMPLES_PASSED;
#if LL_TRACK_PENDING_OCCLUSION_QUERIES #if LL_TRACK_PENDING_OCCLUSION_QUERIES
sPendingQueries.insert(mOcclusionQuery[LLViewerCamera::sCurCameraID]); sPendingQueries.insert(mOcclusionQuery[LLViewerCamera::sCurCameraID]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment