- disabled OpenGL 3.0 on the Open Source Mesa driver for Linux because it appears to be broken.

This commit is contained in:
Christoph Oelckers 2017-01-03 12:00:26 +01:00 committed by Rachael Alexanderson
parent ca9523acef
commit f30b2ca80d

View file

@ -168,7 +168,7 @@ void gl_LoadExtensions()
}
// The minimum requirement for the modern render path are GL 3.0 + uniform buffers
if (gl_version < 3.0f || (gl_version < 3.1f && !CheckExtension("GL_ARB_uniform_buffer_object")))
if (gl_version < 3.0f || (gl_version < 3.1f && !CheckExtension("GL_ARB_uniform_buffer_object") && strstr(gl.vendorstring, "X.Org") == nullptr))
{
gl.legacyMode = true;
gl.lightmethod = LM_LEGACY;