Skip to content
Permalink
Browse files

Use GL ES3 on ARM devices

  • Loading branch information
mmatyas committed Sep 28, 2016
1 parent c7e1a57 commit 9bc1726433aac01abe57059fae96e2c8c429564c
Showing with 2 additions and 2 deletions.
  1. +2 −2 ports/glutin/window.rs
@@ -317,7 +317,7 @@ impl Window {
}
}

#[cfg(not(target_os = "android"))]
#[cfg(not(any(target_arch = "arm", target_arch = "aarch64")))]
fn gl_version() -> GlRequest {
if opts::get().use_webrender {
return GlRequest::Specific(Api::OpenGl, (3, 2));
@@ -332,7 +332,7 @@ impl Window {
}
}

#[cfg(target_os = "android")]
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
fn gl_version() -> GlRequest {
GlRequest::Specific(Api::OpenGlEs, (3, 0))
}

0 comments on commit 9bc1726

Please sign in to comment.
You can’t perform that action at this time.