From c82401f213c469f880433077401ebfefffdf3b39 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Wed, 2 Sep 2015 19:51:28 -0700 Subject: [PATCH] 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. --- ports/glutin/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")]