diff options
author | Joe Wilm <joe@jwilm.com> | 2016-10-28 08:11:45 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-10-28 08:11:45 -0700 |
commit | cb2fa27f1501b560ffa671d8351fe18424ed320c (patch) | |
tree | 1f0489f47095427299793a322cc0b5abbc368cb0 /src/main.rs | |
parent | 06ea6c8e565af0fdddc4de80f59435cfe05670c2 (diff) | |
download | alacritty-cb2fa27f1501b560ffa671d8351fe18424ed320c.tar.gz alacritty-cb2fa27f1501b560ffa671d8351fe18424ed320c.zip |
Dynamically update render_timer config
Everything else was already in place, just needed to set the flag.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 8a2159e8..b8bc5d07 100644 --- a/src/main.rs +++ b/src/main.rs @@ -293,6 +293,7 @@ struct Display { impl Display { pub fn update_config(&mut self, config: &Config) { self.renderer.update_config(config); + self.render_timer = config.render_timer(); } pub fn new(window: Arc<glutin::Window>, |