aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2024-01-14 16:01:30 +0100
committerGitHub <noreply@github.com>2024-01-14 19:01:30 +0400
commit927b864844fa70a33a9abf557f9f813f831c54e1 (patch)
tree7e516eddc62b237fc21004c0947180cfb4aad039
parenta265bb0d4f39c364680bd0743c355a9f3144165c (diff)
downloadalacritty-927b864844fa70a33a9abf557f9f813f831c54e1.tar.gz
alacritty-927b864844fa70a33a9abf557f9f813f831c54e1.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.rs3
-rw-r--r--extra/man/alacritty.5.scd2
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.