apprt newWindow/newTab do not have to return a surface

This commit is contained in:
Mitchell Hashimoto
2023-02-23 08:44:01 -08:00
parent 153004eb6f
commit fb13838532
3 changed files with 35 additions and 27 deletions

View File

@@ -99,7 +99,7 @@ pub fn main() !void {
defer app_runtime.terminate();
// Create an initial window
_ = try app_runtime.newWindow();
try app_runtime.newWindow(null);
// Run the GUI event loop
try app_runtime.run();