mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
0f596cdb55
commit
c82401f213
1 changed files with 1 additions and 1 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue