diff --git a/src/renderer/State.zig b/src/renderer/State.zig index 727fece4c..8693458f1 100644 --- a/src/renderer/State.zig +++ b/src/renderer/State.zig @@ -1,5 +1,7 @@ //! This is the render state that is given to a renderer. +const State = @This(); + const std = @import("std"); const assert = std.debug.assert; const Allocator = std.mem.Allocator; @@ -8,8 +10,6 @@ const terminalpkg = @import("../terminal/main.zig"); const inputpkg = @import("../input.zig"); const renderer = @import("../renderer.zig"); -const State = @This(); - /// The mutex that must be held while reading any of the data in the /// members of this state. Note that the state itself is NOT protected /// by the mutex and is NOT thread-safe, only the members values of the