From 4cc635f3bf599ba88ef58909d940ec680cee9590 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Sat, 16 Mar 2024 01:56:38 +0100 Subject: [PATCH] Set raylib font size to 100 on loading --- src/main.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.zig b/src/main.zig index 5df7526..15fd1e0 100644 --- a/src/main.zig +++ b/src/main.zig @@ -27,9 +27,9 @@ pub fn main() !void { var station_id_buffer: [10]u8 = .{0} ** 10; var appState = AppState{ .allocator = allocator, - .font = rl.LoadFontFromMemory(".ttf", noto, noto.len, 64, cp, cp_cnt), - .db_font = raylib.LoadFontEx("./private/db.ttf", 64, cp, cp_cnt), - .ns_font = raylib.LoadFontEx("./private/ns.ttf", 64, cp, cp_cnt), + .font = rl.LoadFontFromMemory(".ttf", noto, noto.len, 100, cp, cp_cnt), + .db_font = raylib.LoadFontEx("./private/db.ttf", 100, cp, cp_cnt), + .ns_font = raylib.LoadFontEx("./private/ns.ttf", 100, cp, cp_cnt), .home_screen_state = .{ .station_name = std.ArrayListUnmanaged(u8).initBuffer(&station_name_buffer), .station_name_max_len = station_name_buffer.len - 1,