Cut required desktop OpenGL version from 3.0 to 2.1.

Mesa software rendering on Ubuntu 14.04 only claims to support OpenGL 2.1,
so servo crashes on startup.  It seems to work fine if an OpenGL 2.1 context
is requested.
This commit is contained in:
Eli Friedman 2015-09-02 19:51:28 -07:00
parent 0f596cdb55
commit c82401f213

View file

@ -139,7 +139,7 @@ impl Window {
#[cfg(not(target_os = "android"))]
fn gl_version() -> GlRequest {
GlRequest::Specific(Api::OpenGl, (3, 0))
GlRequest::Specific(Api::OpenGl, (2, 1))
}
#[cfg(target_os = "android")]