macos: don't try swrast fallback for mesa
We're not using; we only use either Metal via WebGpu (and thus don't ever get into the egl code), or Egl via the native opengl implementation. So we can bail out of the loop with the swrast fallback like we do on windows. closes: https://github.com/wezterm/wezterm/issues/6819
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -469,7 +469,7 @@ impl GlState {
|
||||
// with the mesa environment set, and if we did, it would just
|
||||
// cause us to try software mode instead of the native opengl
|
||||
// drivers we'd pick up from the WGL fallback.
|
||||
if cfg!(windows) {
|
||||
if cfg!(windows) || cfg!(target_os = "macos") {
|
||||
break;
|
||||
}
|
||||
if prefer_swrast {
|
||||
|
||||
Reference in new issue
Block a user