mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
hal/gl: disable presentation on intel+nv
This commit is contained in:
committed by
Dzmitry Malyshau
parent
96ed52f4a7
commit
8fa3ca731b
@@ -160,7 +160,14 @@ fn choose_config(
|
||||
|
||||
match egl.choose_first_config(display, &attributes) {
|
||||
Ok(Some(config)) => {
|
||||
return Ok((config, tier_max >= 1));
|
||||
if tier_max == 1 {
|
||||
log::warn!(
|
||||
"EGL says it can present to the window but not natively. {}. {}",
|
||||
"This has been confirmed to malfunction on Intel+NV laptops",
|
||||
"Therefore, we disable presentation entirely for this platform"
|
||||
);
|
||||
}
|
||||
return Ok((config, tier_max >= 2));
|
||||
}
|
||||
Ok(None) => {
|
||||
log::warn!("No config found!");
|
||||
|
||||
Reference in New Issue
Block a user