mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 06:13:07 +01:00
Fixed compile error.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user