mirror of
https://github.com/keharriso/love-nuklear.git
synced 2025-09-10 16:17:47 -04:00
Fix frameBegin to use correct context
This commit is contained in:
parent
47128fed66
commit
8b5482e74f
1 changed files with 1 additions and 1 deletions
|
@ -1030,7 +1030,7 @@ static int nk_love_shutdown(lua_State *luaState)
|
|||
free(ctx->fonts);
|
||||
free(ctx->layout_ratios);
|
||||
lua_getfield(L, LUA_REGISTRYINDEX, "nuklear");
|
||||
lua_pushlightuserdata(L, context);
|
||||
lua_pushlightuserdata(L, ctx);
|
||||
lua_pushnil(L);
|
||||
lua_settable(L, -3);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue