diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-02 21:12:34 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-02 21:12:34 -0600 |
commit | 625b4938efbaf45cb4a9802796bd3e29bb9be376 (patch) | |
tree | d245d3654b48d9cbb868d0495f46a635c849d066 | |
parent | 0f596cdb55ed5123ad5f9b095e22214fab8c82b7 (diff) | |
parent | c82401f213c469f880433077401ebfefffdf3b39 (diff) | |
download | servo-625b4938efbaf45cb4a9802796bd3e29bb9be376.tar.gz servo-625b4938efbaf45cb4a9802796bd3e29bb9be376.zip |
Auto merge of #7525 - eefriedman:ogl-version-requirement, r=glennw
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.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7525)
<!-- Reviewable:end -->
-rw-r--r-- | ports/glutin/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs index 58bd147797f..fec6045b978 100644 --- a/ports/glutin/window.rs +++ b/ports/glutin/window.rs @@ -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")] |