1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Cleaned initialisation process

This commit is contained in:
Reuh 2015-08-22 20:37:45 +02:00
parent 8da0e47ae3
commit 0af33d0b3a
6 changed files with 70 additions and 58 deletions

View file

@ -22,6 +22,6 @@ void load_font_lib(lua_State *L) {
luaL_requiref(L, "ctr.gfx.font", luaopen_font_lib, false);
}
void unload_font_lib() {
void unload_font_lib(lua_State *L) {
sftd_free_font(font_default); // Unload current font
}