summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorGraham Madarasz (Graham) <graham@lindenlab.com>2013-05-01 11:56:15 -0700
committerGraham Madarasz (Graham) <graham@lindenlab.com>2013-05-01 11:56:15 -0700
commitfb73cf01afba88c60ba7eab074f66a08e07638b1 (patch)
tree846570cef763cd1372e83ee4f9cf905f98759c69 /indra/llrender
parent90c2be46bf677db00207a45478ade362b90d7a6c (diff)
NORSPEC-144 make code to nerf use of FBOs on old windows drivers not affect Mac too
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llgl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index 8431744892..088ba95b75 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -760,12 +760,13 @@ bool LLGLManager::initGL()
{ //using multisample textures on ATI results in black screen for some reason
mHasTextureMultisample = FALSE;
}
-#endif
+
if (mIsIntel && mGLVersion <= 3.f)
{ //never try to use framebuffer objects on older intel drivers (crashy)
mHasFramebufferObject = FALSE;
}
+#endif
if (mHasFramebufferObject)
{