We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d90302 commit ef36e2dCopy full SHA for ef36e2d
wgpu-hal/src/gles/egl.rs
@@ -181,12 +181,13 @@ fn choose_config(
181
Ok(Some(config)) => {
182
if tier_max == 1 {
183
log::warn!(
184
- "EGL says it can present to the window but not natively. {}. {}",
+ "EGL says it can present to the window but not natively. {}.",
185
"This has been confirmed to malfunction on Intel+NV laptops",
186
- "Therefore, we disable presentation entirely for this platform"
187
);
188
}
189
- return Ok((config, tier_max >= 2));
+ // Android emulator can't natively present either.
+ let tier_threshold = if cfg!(target_os = "android") { 1 } else { 2 };
190
+ return Ok((config, tier_max >= tier_threshold));
191
192
Ok(None) => {
193
log::warn!("No config found!");
0 commit comments