Skip to content

Commit 504f831

Browse files
committed
Rebuild nuklear.h
Fixes #648
1 parent 47f570c commit 504f831

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nuklear.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -16727,15 +16727,15 @@ nk_font_bake_pack(struct nk_font_baker *baker,
1672716727
it = config_iter;
1672816728
do {
1672916729
struct stbtt_fontinfo *font_info = &baker->build[i++].info;
16730-
font_info->userdata = alloc;
16730+
font_info->userdata = (void*)alloc;
1673116731

1673216732
if (!stbtt_InitFont(font_info, (const unsigned char*)it->ttf_blob, stbtt_GetFontOffsetForIndex((const unsigned char*)it->ttf_blob, 0)))
1673316733
return nk_false;
1673416734
} while ((it = it->n) != config_iter);
1673516735
}
1673616736
*height = 0;
1673716737
*width = (total_glyph_count > 1000) ? 1024 : 512;
16738-
stbtt_PackBegin(&baker->spc, 0, (int)*width, (int)max_height, 0, 1, alloc);
16738+
stbtt_PackBegin(&baker->spc, 0, (int)*width, (int)max_height, 0, 1, (void*)alloc);
1673916739
{
1674016740
int input_i = 0;
1674116741
int range_n = 0;

0 commit comments

Comments
 (0)