Skip to content
Snippets Groups Projects
Commit d292ec7e authored by Graham Linden's avatar Graham Linden
Browse files

Better OSX clean up.

parent 17df1215
No related branches found
No related tags found
No related merge requests found
...@@ -98,18 +98,10 @@ void LLDrawPoolSky::render(S32 pass) ...@@ -98,18 +98,10 @@ void LLDrawPoolSky::render(S32 pass)
} }
LLGLSPipelineSkyBox gls_skybox; LLGLSPipelineDepthTestSkyBox gls_skybox(true, false);
LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE);
LLGLSquashToFarClip far_clip;
LLGLEnable fog_enable( (mVertexShaderLevel < 1 && LLViewerCamera::getInstance()->cameraUnderWater()) ? GL_FOG : 0); LLGLEnable fog_enable( (mVertexShaderLevel < 1 && LLViewerCamera::getInstance()->cameraUnderWater()) ? GL_FOG : 0);
gPipeline.disableLights();
LLGLDisable clip(GL_CLIP_PLANE0);
gGL.pushMatrix(); gGL.pushMatrix();
LLVector3 origin = LLViewerCamera::getInstance()->getOrigin(); LLVector3 origin = LLViewerCamera::getInstance()->getOrigin();
gGL.translatef(origin.mV[0], origin.mV[1], origin.mV[2]); gGL.translatef(origin.mV[0], origin.mV[1], origin.mV[2]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment