diff options
| author | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-09-12 13:17:43 -0700 | 
|---|---|---|
| committer | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-09-12 13:17:43 -0700 | 
| commit | 9b99ece5ab43b6cb28944d1e412f06c6b22dbc2c (patch) | |
| tree | 64db05e47264c13d9eebf3f8ba67846c7502740a /indra/newview | |
| parent | b6cfd67a36fe34092dd812940bf051994d0317f5 (diff) | |
MAINT-3135 WIP partial fix, addresses graphics corruption on resize, but not mouse mapping issues
Diffstat (limited to 'indra/newview')
| -rwxr-xr-x | indra/newview/pipeline.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index f49395da34..be5113680d 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -945,11 +945,13 @@ bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples)  			screenFormat = GL_RGBA12;  		} +#if !LL_DARWIN  		if (gGLManager.mGLVersion < 4.f && gGLManager.mIsNVIDIA)  		{  			screenFormat = GL_RGBA16F_ARB;  		} -		 +#endif +          		if (!mScreen.allocate(resX, resY, screenFormat, FALSE, FALSE, LLTexUnit::TT_RECT_TEXTURE, FALSE, samples)) return false;  		if (samples > 0)  		{ | 
