summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-04-23 12:50:47 -0500
committerDave Parks <davep@lindenlab.com>2013-04-23 12:50:47 -0500
commit95672cabb98fb311010cf3ff5571b3422b4dec71 (patch)
tree64fe3ea1e573938aee5b3677f13926e16f85c451 /indra/newview/pipeline.cpp
parent3d7c1000625af4089476d14d1a8110842a23a104 (diff)
NORSPEC-142 Fix for unusable performance on GTX 285
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index a2f57c5720..9b7608e197 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -917,6 +917,11 @@ bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples)
{
screenFormat = GL_RGBA12;
}
+
+ if (gGLManager.mGLVersion < 4.f && gGLManager.mIsNVIDIA)
+ {
+ screenFormat = GL_RGBA16F_ARB;
+ }
if (!mScreen.allocate(resX, resY, screenFormat, FALSE, FALSE, LLTexUnit::TT_RECT_TEXTURE, FALSE, samples)) return false;
if (samples > 0)