diff options
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/pipeline.cpp | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 230bf0e9fd..5e9f0e3efe 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -658,7 +658,7 @@ void LLPipeline::allocatePhysicsBuffer()  void LLPipeline::allocateScreenBuffer(U32 resX, U32 resY)  {  	refreshCachedSettings(); -	U32 samples = gGLManager.getNumFBOFSAASamples(RenderFSAASamples); +	U32 samples = RenderFSAASamples;  	//try to allocate screen buffers at requested resolution and samples  	// - on failure, shrink number of samples and try again @@ -1165,9 +1165,7 @@ BOOL LLPipeline::canUseWindLightShadersOnObjects() const  BOOL LLPipeline::canUseAntiAliasing() const  { -	// We can use anti-aliasing if the GL manager can support some multisampling -	BOOL can_fsaa = (gGLManager.getNumFBOFSAASamples(2) > 1); -	return can_fsaa; +	return TRUE;  }  void LLPipeline::unloadShaders()  | 
