Explorar el Código

Make the font a bit smaller

Luna Stadler %!s(int64=4) %!d(string=hace) años
padre
commit
e08a4939a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      zig/sdl/hello_sdl.zig

+ 1 - 1
zig/sdl/hello_sdl.zig

@ -35,7 +35,7 @@ pub fn main() !void {
35 35
    defer c.TTF_Quit();
36 36
37 37
    var font_file = if (args.len > 1) args[1] else "./FantasqueSansMono-Regular.ttf";
38
    const font = c.TTF_OpenFont(font_file, 20) orelse {
38
    const font = c.TTF_OpenFont(font_file, 16) orelse {
39 39
        c.SDL_Log("Unable to load font: %s", c.TTF_GetError());
40 40
        return error.TTFInitializationFailed;
41 41
    };