really fixed memory issue
This commit is contained in:
parent
3d84f6c42c
commit
ae6deb7965
@ -1179,7 +1179,7 @@ nk_font_atlas_bake(struct nk_font_atlas *atlas, int *width, int *height,
|
||||
tmp = atlas->temporary.alloc(atlas->temporary.userdata,0, tmp_size);
|
||||
NK_ASSERT(tmp);
|
||||
if (!tmp) goto failed;
|
||||
memset(tmp,0,tmp_size);
|
||||
memset(tmp,0,tmp_size);
|
||||
|
||||
/* allocate glyph memory for all fonts */
|
||||
baker = nk_font_baker(tmp, atlas->glyph_count, atlas->font_num, &atlas->temporary);
|
||||
|
Loading…
Reference in New Issue
Block a user