Dynamically update render_timer config

Everything else was already in place, just needed to set the flag.
This commit is contained in:
Joe Wilm 2016-10-28 08:11:45 -07:00
parent 06ea6c8e56
commit cb2fa27f15
1 changed files with 1 additions and 0 deletions

View File

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