Integrating new surface

This commit is contained in:
Mitchell Hashimoto
2023-02-22 14:37:37 -08:00
parent 3d8c62c41f
commit fbe35c226b
12 changed files with 1831 additions and 146 deletions

View File

@@ -10,7 +10,7 @@ const Allocator = std.mem.Allocator;
const assert = std.debug.assert;
const font = @import("font/main.zig");
const Window = @import("Window.zig");
const Surface = @import("Surface.zig");
const renderer = @import("renderer.zig");
const Config = @import("config.zig").Config;
@@ -30,7 +30,7 @@ visible: bool = false,
config: ?*const Config = null,
/// The window we're tracking.
window: ?*Window = null,
window: ?*Surface = null,
/// Update the state associated with the dev mode. This should generally
/// only be called paired with a render since it otherwise wastes CPU