Initial metal abstraction (noop)

This commit is contained in:
Mitchell Hashimoto
2022-10-28 14:48:36 -07:00
parent 19f003d7d0
commit 07271a6cfd
4 changed files with 101 additions and 21 deletions

View File

@@ -36,7 +36,7 @@ const log = std.log.scoped(.window);
const WRITE_REQ_PREALLOC = std.math.pow(usize, 2, 5);
// The renderer implementation to use.
const Renderer = renderer.OpenGL;
const Renderer = renderer.Renderer;
/// Allocator
alloc: Allocator,