1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

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>
This commit is contained in:
Christian Duerr 2024-01-14 16:01:30 +01:00 committed by GitHub
parent a265bb0d4f
commit 927b864844
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -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,
}

View file

@ -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.