diff options
| author | jussi | 2023-10-30 00:04:11 +0200 |
|---|---|---|
| committer | jussi | 2023-10-30 00:04:11 +0200 |
| commit | d287078c658d26d41a28f92b62b023048c5503ce (patch) | |
| tree | fb045110fde9329782d21324cc7a9092128a1126 /src/rgui.c | |
| parent | 992310fb90832ddf493ec33f1099dbbf3e0987f3 (diff) | |
| download | reilua-enhanced-d287078c658d26d41a28f92b62b023048c5503ce.tar.gz reilua-enhanced-d287078c658d26d41a28f92b62b023048c5503ce.tar.bz2 reilua-enhanced-d287078c658d26d41a28f92b62b023048c5503ce.zip | |
Userdata objects can be referenced with lightuserdata.
Diffstat (limited to 'src/rgui.c')
| -rw-r--r-- | src/rgui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ int lguiGuiGetState( lua_State *L ) { Set gui custom font (global state) */ int lguiGuiSetFont( lua_State *L ) { - Font *font = luaL_checkudata( L, 1, "Font" ); + Font *font = uluaGetFont( L, 1 ); GuiSetFont( *font ); |
