mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed compile error.
This commit is contained in:
parent
f0013b8c9f
commit
5b31ef54a2
2 changed files with 3 additions and 2 deletions
|
@ -410,7 +410,7 @@ struct FONScontext
|
|||
void* errorUptr;
|
||||
};
|
||||
|
||||
static void* fons__tmpalloc(size_t size, void* up)
|
||||
void* fons__tmpalloc(size_t size, void* up)
|
||||
{
|
||||
unsigned char* ptr;
|
||||
|
||||
|
@ -425,7 +425,7 @@ static void* fons__tmpalloc(size_t size, void* up)
|
|||
return ptr;
|
||||
}
|
||||
|
||||
static void fons__tmpfree(void* ptr, void* up)
|
||||
void fons__tmpfree(void* ptr, void* up)
|
||||
{
|
||||
(void)ptr;
|
||||
(void)up;
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include "nanovg.h"
|
||||
#define FONTSTASH_IMPLEMENTATION
|
||||
#include "fontstash.h"
|
||||
|
|
Loading…
Reference in a new issue