diff --git a/src/main.zig b/src/main.zig index 50e5cea..57c31a8 100644 --- a/src/main.zig +++ b/src/main.zig @@ -16,7 +16,10 @@ app_timer: core.Timer, title_timer: core.Timer, pub fn init(app: *App) !void { - try core.init(.{}); + try core.init(.{ + // Request high performance = prefer dedicated GPU when available. + .power_preference = .high_performance, + }); // Set up a "general purpose allocator" that will handle allocations for // the lifetime of the application, for which a more specific allocation