Skip to content

Commit

Permalink
front_end defaults to OpenGL again
Browse files Browse the repository at this point in the history
Feels safest to do this until we can make a smoother fallback
experience for webgpu.

I will revert this after tagging the release so that nightly
runs webgpu by default.
  • Loading branch information
wez committed Jul 12, 2023
1 parent 28dcea0 commit f4abf8f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion config/src/frontend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use wezterm_dynamic::{FromDynamic, ToDynamic};

#[derive(Debug, Clone, Copy, PartialEq, Eq, FromDynamic, ToDynamic, Default)]
pub enum FrontEndSelection {
OpenGL,
#[default]
OpenGL,
WebGpu,
Software,
}
Expand Down
1 change: 0 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ As features stabilize some brief notes about them will accumulate here.

#### Changed

* The default for [front_end](config/lua/config/front_end.md) is now `WebGpu`.
* The default for
[adjust_window_size_when_changing_font_size](config/lua/config/adjust_window_size_when_changing_font_size.md)
now depends on the window environment and the contents of
Expand Down
3 changes: 0 additions & 3 deletions docs/config/lua/config/front_end.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ possible values:
* `Software` - use CPU-based rasterization.
* `WebGpu` - use GPU accelerated rasterization {{since('20221119-145034-49b9839f', inline=True)}}

{{since('nightly', outline=true)}}
The default is `"WebGpu"`. In earlier versions it was `"OpenGL"`

You may wish (or need!) to select `Software` if there are issues with your
GPU/OpenGL drivers.

Expand Down

0 comments on commit f4abf8f

Please sign in to comment.