NORSPEC-142 Fix for unusable performance on GTX 285
parent
3d7c100062
commit
95672cabb9
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue