diff options
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/lldrawpoolsky.cpp | 10 | 
1 files changed, 1 insertions, 9 deletions
| diff --git a/indra/newview/lldrawpoolsky.cpp b/indra/newview/lldrawpoolsky.cpp index a04ebcddee..4d4711d7c9 100644 --- a/indra/newview/lldrawpoolsky.cpp +++ b/indra/newview/lldrawpoolsky.cpp @@ -98,18 +98,10 @@ void LLDrawPoolSky::render(S32 pass)  	} -	LLGLSPipelineSkyBox gls_skybox; - -	LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE); - -	LLGLSquashToFarClip far_clip; +	LLGLSPipelineDepthTestSkyBox gls_skybox(true, false);  	LLGLEnable fog_enable( (mVertexShaderLevel < 1 && LLViewerCamera::getInstance()->cameraUnderWater()) ? GL_FOG : 0); -	gPipeline.disableLights(); -	 -	LLGLDisable clip(GL_CLIP_PLANE0); -  	gGL.pushMatrix();  	LLVector3 origin = LLViewerCamera::getInstance()->getOrigin();  	gGL.translatef(origin.mV[0], origin.mV[1], origin.mV[2]); | 
