diff options
| -rw-r--r-- | indra/newview/pipeline.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 5181279633..7b379da2a9 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -895,11 +895,15 @@ bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples)  		if (!mOcclusionDepth.allocate(resX/occlusion_divisor, resY/occlusion_divisor, 0, TRUE, FALSE, LLTexUnit::TT_RECT_TEXTURE, FALSE, samples)) return false;  		if (!addDeferredAttachments(mDeferredScreen)) return false; +#if GL_VERSION_1_1  		GLuint screenFormat = GL_RGBA16;  		if (gGLManager.mIsAMD)  		{  			screenFormat = GL_RGBA12;  		} +#else +		GLuint screenFormat = GL_RGBA16F; +#endif  		if (gGLManager.mGLVersion < 4.f && gGLManager.mIsNVIDIA)  		{  | 
