mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Use GL ES3 on ARM devices
This commit is contained in:
parent
c7e1a575a5
commit
9bc1726433
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue