aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/cli.rs
diff options
context:
space:
mode:
authorGreg Depoire--Ferrer <56923875+greg904@users.noreply.github.com>2022-02-16 20:57:46 +0000
committerGitHub <noreply@github.com>2022-02-16 20:57:46 +0000
commita64553bbaf9e058f02d278dfa7104ea96fc58dd8 (patch)
treed332bd65a6ead6a6f3f0b368db994b1dd50fccac /alacritty/src/cli.rs
parented5dbc11183030367c9a510a9706f6791b54430f (diff)
downloadr-alacritty-a64553bbaf9e058f02d278dfa7104ea96fc58dd8.tar.gz
r-alacritty-a64553bbaf9e058f02d278dfa7104ea96fc58dd8.tar.bz2
r-alacritty-a64553bbaf9e058f02d278dfa7104ea96fc58dd8.zip
Reuse Rasterizer in Display::new
Instead of creating a `Rasterizer` to guess the window dimensions, dropping it and then creating a new one for the glyph cache, reuse the same `Rasterizer`. This prevents the font from being loaded twice during startup.
Diffstat (limited to 'alacritty/src/cli.rs')
0 files changed, 0 insertions, 0 deletions