diff options
| author | jussi | 2022-06-26 15:03:08 +0300 |
|---|---|---|
| committer | jussi | 2022-06-26 15:03:08 +0300 |
| commit | 314d0412a53b8e012ec183c503a69cc32e24ab34 (patch) | |
| tree | 1655be4b4a86f1712641301d673e22750ec7e8a6 /src/lua_core.c | |
| parent | 36baf4c1222aee409bb62be9770798bfa7fdd302 (diff) | |
| download | reilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.tar.gz reilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.tar.bz2 reilua-enhanced-314d0412a53b8e012ec183c503a69cc32e24ab34.zip | |
Get font info.
Diffstat (limited to 'src/lua_core.c')
| -rw-r--r-- | src/lua_core.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lua_core.c b/src/lua_core.c index f17872e..23f6534 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -529,6 +529,9 @@ bool luaInit() { luaRegister(); defineGlobals(); + // SetConfigFlags( FLAG_VSYNC_HINT ); + // SetWindowState( FLAG_VSYNC_HINT ); + return luaCallMain(); } @@ -1060,6 +1063,9 @@ void luaRegister() { lua_register( L, "RL_DrawTextPro", ltextDrawTextPro ); /* Misc. */ lua_register( L, "RL_MeasureText", ltextMeasureText ); + lua_register( L, "RL_GetFontBaseSize", ltextGetFontBaseSize ); + lua_register( L, "RL_GetFontGlyphCount", ltextGetFontGlyphCount ); + lua_register( L, "RL_GetFontGlyphPadding", ltextGetFontGlyphPadding ); /* Audio. */ /* Audio device management. */ |
