diff options
author | Christian Duerr <contact@christianduerr.com> | 2024-01-14 16:01:30 +0100 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2024-03-19 02:20:53 +0100 |
commit | 915aa655711eaad0ba942cc7b84c1760e8cd19a0 (patch) | |
tree | f80e558224f966a4fa8663e559b7db7c783295e8 | |
parent | ecd3bd7cbe54200c825c282a02b49014c75c5ca2 (diff) | |
download | alacritty-915aa655711eaad0ba942cc7b84c1760e8cd19a0.tar.gz alacritty-915aa655711eaad0ba942cc7b84c1760e8cd19a0.zip |
Fix `debug.renderer="gles2pure"` documentation
Patch 5685ce8bf changed the allowed values of the `debug.renderer` enum,
prohibiting the usage of `_` in the `Gles2Pure` variant. This patch
updates the documentation to correct for that.
Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
-rw-r--r-- | alacritty/src/config/debug.rs | 3 | ||||
-rw-r--r-- | extra/man/alacritty.5.scd | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/alacritty/src/config/debug.rs b/alacritty/src/config/debug.rs index 15c06454..ffd396d5 100644 --- a/alacritty/src/config/debug.rs +++ b/alacritty/src/config/debug.rs @@ -48,14 +48,11 @@ impl Default for Debug { #[derive(ConfigDeserialize, Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)] pub enum RendererPreference { /// OpenGL 3.3 renderer. - #[config(rename = "glsl3")] Glsl3, /// GLES 2 renderer, with optional extensions like dual source blending. - #[config(rename = "gles2")] Gles2, /// Pure GLES 2 renderer. - #[config(rename = "gles2_pure")] Gles2Pure, } diff --git a/extra/man/alacritty.5.scd b/extra/man/alacritty.5.scd index b68fcbfb..933bf2f2 100644 --- a/extra/man/alacritty.5.scd +++ b/extra/man/alacritty.5.scd @@ -996,7 +996,7 @@ relied upon. Example: _ALACRITTY_EXTRA_LOG_TARGETS="winit;vte" alacritty -vvv_ -*renderer* = _"glsl3"_ | _"gles2"_ | _"gles2_pure"_ | _"None"_ +*renderer* = _"glsl3"_ | _"gles2"_ | _"gles2pure"_ | _"None"_ Force use of a specific renderer, _"None"_ will use the highest available one. |