summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolsky.cpp
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 /indra/newview/lldrawpoolsky.cpp
parent9a8e124fdecbeb57f65645d102f5f1767f8e4d16 (diff)
Fix OSX issue with ctor not recognizing version with defaulted arg.
Diffstat (limited to 'indra/newview/lldrawpoolsky.cpp')
-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);