MAINT-804, MAINT-810 Disable framebuffer object usage on intel chips (implicitly disables lighting and shadows)

meow-7.2.2
Dave Parks 2012-03-21 16:05:57 -05:00
parent 6075666787
commit 0af7b7038f
1 changed files with 5 additions and 0 deletions

View File

@ -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);