travisvroman / kohi

A game engine made as part of the Kohi Game Engine series on YouTube (and Twitch!), where we make a game engine from the ground up using C and Vulkan.

Home Page:https://kohiengine.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] using the address of a pointer in system_font_loader.c

furious114 opened this issue · comments

Describe the bug
line 230 in system_font_loader.c
CLOSE_IF_FAILED(filesystem_read(file, read_size, &data->font_binary, &bytes_read), file);
"&data->font_binary" should be "data->font_binary".
It's easy to overlook that kind of error.

Update: looked into this and cannot test due to write_ksf_file not yet being implemented.

Blocked.