- 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
parent 2dec45ca39
commit 96623b3052

View file

@ -168,7 +168,7 @@ void gl_LoadExtensions()
} }
// The minimum requirement for the modern render path are GL 3.0 + uniform buffers // 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.legacyMode = true;
gl.lightmethod = LM_LEGACY; gl.lightmethod = LM_LEGACY;