aboutsummaryrefslogtreecommitdiff
path: root/pixel-client/src/profiler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pixel-client/src/profiler.rs')
-rw-r--r--pixel-client/src/profiler.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/pixel-client/src/profiler.rs b/pixel-client/src/profiler.rs
index 98bf8196..11703fa3 100644
--- a/pixel-client/src/profiler.rs
+++ b/pixel-client/src/profiler.rs
@@ -25,6 +25,12 @@ pub struct ProfilerOverlay {
fps: f32,
}
+impl Default for ProfilerOverlay {
+ fn default() -> Self {
+ Self::new()
+ }
+}
+
impl ProfilerOverlay {
pub fn new() -> Self {
Self {