Disable FBOs on intel gpus running with pre-GL3.x drivers.

This commit is contained in:
Shyotl
2012-04-12 10:36:28 -05:00
parent 18ac23554f
commit 06068a0361

View File

@@ -755,6 +755,11 @@ bool LLGLManager::initGL()
}
#endif
if (mIsIntel && mGLVersion <= 3.f)
{ //never try to use framebuffer objects on older intel drivers (crashy)
mHasFramebufferObject = FALSE;
}
if (mHasFramebufferObject)
{
glGetIntegerv(GL_MAX_SAMPLES, &mMaxSamples);