mirror of
https://github.com/memononen/nanovg
synced 2026-09-26 16:19:07 +03:00
Merge pull request #620 from mulle-nat/mulle-nat-patch-fonsDeleteInternal
Update fontstash.h
This commit is contained in:
commit
e75cf72b4a
1 changed files with 1 additions and 1 deletions
|
|
@ -1660,8 +1660,8 @@ void fonsDeleteInternal(FONScontext* stash)
|
|||
if (stash->fonts) free(stash->fonts);
|
||||
if (stash->texData) free(stash->texData);
|
||||
if (stash->scratch) free(stash->scratch);
|
||||
free(stash);
|
||||
fons__tt_done(stash);
|
||||
free(stash);
|
||||
}
|
||||
|
||||
void fonsSetErrorCallback(FONScontext* stash, void (*callback)(void* uptr, int error, int val), void* uptr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue