- 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 Christoph Oelckers
parent f8fa6294d2
commit 4fb44dffeb

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;