apprt: start embedded implement, make App API available to C

This commit is contained in:
Mitchell Hashimoto
2023-02-16 08:52:40 -08:00
parent ba8f142770
commit eed6979868
9 changed files with 131 additions and 11 deletions

View File

@@ -92,7 +92,7 @@ pub fn main() !void {
glfw.setErrorCallback(glfwErrorCallback);
// Run our app with a single initial window to start.
var app = try App.create(alloc, &config);
var app = try App.create(alloc, .{}, &config);
defer app.destroy();
try app.run();
}