summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-09-12 13:17:43 -0700
committerGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-09-12 13:17:43 -0700
commit9b99ece5ab43b6cb28944d1e412f06c6b22dbc2c (patch)
tree64db05e47264c13d9eebf3f8ba67846c7502740a /indra/newview/pipeline.cpp
parentb6cfd67a36fe34092dd812940bf051994d0317f5 (diff)
MAINT-3135 WIP partial fix, addresses graphics corruption on resize, but not mouse mapping issues
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rwxr-xr-xindra/newview/pipeline.cpp4
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)
{