summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-10-30 21:12:22 +0100
committerGraham Linden <graham@lindenlab.com>2018-10-30 21:12:22 +0100
commit17df1215b031a353fd8b2373774be8a81abfa781 (patch)
tree13c84e9c1a07827334e19dba4cd6b0855a32c622
parent9a8e124fdecbeb57f65645d102f5f1767f8e4d16 (diff)
Fix OSX issue with ctor not recognizing version with defaulted arg.
-rw-r--r--indra/newview/lldrawpoolsky.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolsky.cpp b/indra/newview/lldrawpoolsky.cpp
index 2e4506ce47..a04ebcddee 100644
--- a/indra/newview/lldrawpoolsky.cpp
+++ b/indra/newview/lldrawpoolsky.cpp
@@ -102,7 +102,7 @@ void LLDrawPoolSky::render(S32 pass)
LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE);
- LLGLSquashToFarClip far_clip(get_current_projection());
+ LLGLSquashToFarClip far_clip;
LLGLEnable fog_enable( (mVertexShaderLevel < 1 && LLViewerCamera::getInstance()->cameraUnderWater()) ? GL_FOG : 0);