Dynamically update render_timer config
Everything else was already in place, just needed to set the flag.
This commit is contained in:
parent
06ea6c8e56
commit
cb2fa27f15
|
@ -293,6 +293,7 @@ struct Display {
|
||||||
impl Display {
|
impl Display {
|
||||||
pub fn update_config(&mut self, config: &Config) {
|
pub fn update_config(&mut self, config: &Config) {
|
||||||
self.renderer.update_config(config);
|
self.renderer.update_config(config);
|
||||||
|
self.render_timer = config.render_timer();
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn new(window: Arc<glutin::Window>,
|
pub fn new(window: Arc<glutin::Window>,
|
||||||
|
|
Loading…
Reference in New Issue