mirror of
https://github.com/keharriso/love-nuklear.git
synced 2025-09-10 16:17:47 -04:00
Nov 26, 2024, 10:59 PM
This commit is contained in:
parent
06c9ad4d03
commit
764c507457
1 changed files with 1 additions and 1 deletions
|
@ -1729,7 +1729,7 @@ static int nk_love_frame_begin(lua_State *L)
|
||||||
lua_rawgeti(L, -1, love_handle->ref);
|
lua_rawgeti(L, -1, love_handle->ref);
|
||||||
nk_love_checkFont(L, -1, &context->fonts[context->font_count]);
|
nk_love_checkFont(L, -1, &context->fonts[context->font_count]);
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
context->nkctx.style.font = &context->fonts[context->font_count++];
|
context->nkctx.style.font = (const struct nk_user_font *)&context->fonts[context->font_count++];
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < context->nkctx.stacks.fonts.head; ++i)
|
for (i = 0; i < context->nkctx.stacks.fonts.head; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue