core: provide a default pub const GPUInterface

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-04-09 21:20:48 -07:00
parent 3583e1754f
commit d1c3d26710
5 changed files with 10 additions and 8 deletions

View file

@ -9,8 +9,6 @@ pub const modules = .{
Game,
};
pub const GPUInterface = mach.core.wgpu.dawn.Interface;
pub fn main() !void {
// Initialize mach.Core
try mach.core.initModule();

View file

@ -11,8 +11,6 @@ pub const modules = .{
Game,
};
pub const GPUInterface = mach.core.wgpu.dawn.Interface;
// TODO: move this to a mach "entrypoint" zig module
pub fn main() !void {
// Initialize mach core