Disable MESA opengl/glsl override enviroment vars for now, disable vbo/vao for now

This commit is contained in:
2019-08-13 10:26:37 -05:00
parent 04ebb8ccd3
commit da9b0212c2
2 changed files with 7 additions and 7 deletions

View File

@@ -22,10 +22,10 @@ when :OPENGL_PLATFORM_MACOSX
GLU.load_lib("libGLU.dylib", "/System/Library/Frameworks/OpenGL.framework/Libraries")
when :OPENGL_PLATFORM_LINUX
# Black magic to get GLSL 3.30 support on older Intel hardware
if `glxinfo | egrep "OpenGL vendor|OpenGL renderer"`.include?("Intel")
ENV["MESA_GL_VERSION_OVERRIDE"] = "3.3"
ENV["MESA_GLSL_VERSION_OVERRIDE"] = "330"
end
# if `glxinfo | egrep "OpenGL vendor|OpenGL renderer"`.include?("Intel")
# ENV["MESA_GL_VERSION_OVERRIDE"] = "3.3"
# ENV["MESA_GLSL_VERSION_OVERRIDE"] = "330"
# end
gl_library_path = nil