summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-03-21 16:05:57 -0500
committerDave Parks <davep@lindenlab.com>2012-03-21 16:05:57 -0500
commit0af7b7038f9e063cf71808e7d7ceaedcb17b83a9 (patch)
tree81269df5522cf0ba381ae4d080b77d9473b967c6 /indra
parent60756667875748f68bf9deca97de29461c9eb93b (diff)
MAINT-804, MAINT-810 Disable framebuffer object usage on intel chips (implicitly disables lighting and shadows)
Diffstat (limited to 'indra')
-rw-r--r--indra/llrender/llgl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index 3f78ab20d0..c629ac33cc 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -748,6 +748,11 @@ bool LLGLManager::initGL()
}
#endif
+ if (mIsIntel)
+ { //never try to use framebuffer objects on intel (crashy)
+ mHasFramebufferObject = FALSE;
+ }
+
if (mHasFramebufferObject)
{
glGetIntegerv(GL_MAX_SAMPLES, &mMaxSamples);