aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/display/mod.rs
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2022-11-28 13:12:53 +0300
committerGitHub <noreply@github.com>2022-11-28 13:12:53 +0300
commit2d619850aebedc93c3f7790d1383ef2fdae2b432 (patch)
tree8098110fdfa1372c3c565ffb90288a30b48124b3 /alacritty/src/display/mod.rs
parent19120f40be0d2555f984bcadafa0bde8f3df2311 (diff)
downloadr-alacritty-2d619850aebedc93c3f7790d1383ef2fdae2b432.tar.gz
r-alacritty-2d619850aebedc93c3f7790d1383ef2fdae2b432.tar.bz2
r-alacritty-2d619850aebedc93c3f7790d1383ef2fdae2b432.zip
Add 'debug.renderer' config option
This should help trouble shooting the renderer being created and different renderer options to determine when something like dual-source rendering isn't working.
Diffstat (limited to 'alacritty/src/display/mod.rs')
-rw-r--r--alacritty/src/display/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/display/mod.rs b/alacritty/src/display/mod.rs
index 3e015874..352b1a9c 100644
--- a/alacritty/src/display/mod.rs
+++ b/alacritty/src/display/mod.rs
@@ -420,7 +420,7 @@ impl Display {
let context = gl_context.make_current(&surface)?;
// Create renderer.
- let mut renderer = Renderer::new(&context)?;
+ let mut renderer = Renderer::new(&context, config.debug.renderer)?;
// Load font common glyphs to accelerate rendering.
debug!("Filling glyph cache with common glyphs");