diff options
Diffstat (limited to 'graphics/src/lib.rs')
| -rw-r--r-- | graphics/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs index b42845c..d12eac0 100644 --- a/graphics/src/lib.rs +++ b/graphics/src/lib.rs @@ -203,7 +203,7 @@ impl Window { } /// Returns the per frame delta time - pub fn delta_time(&self) -> Duration { + pub const fn delta_time(&self) -> Duration { self.renderer.delta_time() } |