examples: revert to 0.4 entrypoint / control API design
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a54d20daa2
commit
80be6b7bca
20 changed files with 105 additions and 56 deletions
|
|
@ -1,4 +1,3 @@
|
|||
// TODO(important): review all code in this file in-depth
|
||||
const mach = @import("mach");
|
||||
const gpu = mach.gpu;
|
||||
const ft = @import("freetype");
|
||||
|
|
@ -16,6 +15,7 @@ pub const systems = .{
|
|||
|
||||
const RegionMap = std.AutoArrayHashMapUnmanaged(u21, mach.gfx.Atlas.Region);
|
||||
|
||||
// TODO: banish global allocator
|
||||
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
||||
|
||||
texture_atlas: mach.gfx.Atlas,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue