diff options
Diffstat (limited to 'graphics/src/timer.rs')
| -rw-r--r-- | graphics/src/timer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/timer.rs b/graphics/src/timer.rs index 8310776..a8317c7 100644 --- a/graphics/src/timer.rs +++ b/graphics/src/timer.rs @@ -52,7 +52,7 @@ impl Timer { self.count += 1; } - pub fn get_frame(&self) -> u32 { + pub const fn get_frame(&self) -> u32 { self.count } |