diff options
Diffstat (limited to 'src/FrameStats.zig')
| -rw-r--r-- | src/FrameStats.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FrameStats.zig b/src/FrameStats.zig index 623acd24..34a629dd 100644 --- a/src/FrameStats.zig +++ b/src/FrameStats.zig @@ -24,7 +24,7 @@ //! on a real display. const std = @import("std"); const pardes = @import("pardes.zig"); -const animation = @import("animation.zig"); +const frame_ns = @import("pardes.zig").frame_ns; const FrameStats = @This(); @@ -85,7 +85,7 @@ long: ?*[long_capacity]Frame = null, /// Frames recorded since the start; the ring holds the last of them. count: u64 = 0, /// The display's refresh period, as the shell knows it. -period_ns: u64 = animation.frame_ns, +period_ns: u64 = frame_ns, /// The end of the last drawn frame's present, and whether anything was /// still moving then (the next frame was owed at once). last_end_ns: u64 = 0, |
