From ad5d78b63e0f2c67cfe03849f50d5550466d8065 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 5 Nov 2016 20:50:13 +0100 Subject: [PATCH] Define this too --- gfx/drivers_font_renderer/stb.c | 1 + gfx/drivers_font_renderer/stb_unicode.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/drivers_font_renderer/stb.c b/gfx/drivers_font_renderer/stb.c index 87d3ff4748..e5a1811367 100644 --- a/gfx/drivers_font_renderer/stb.c +++ b/gfx/drivers_font_renderer/stb.c @@ -27,6 +27,7 @@ #define STB_TRUETYPE_IMPLEMENTATION #define STB_RECT_PACK_IMPLEMENTATION #define STBTT_STATIC +#define STBRP_STATIC #define static static INLINE #include "../../deps/stb/stb_rect_pack.h" #include "../../deps/stb/stb_truetype.h" diff --git a/gfx/drivers_font_renderer/stb_unicode.c b/gfx/drivers_font_renderer/stb_unicode.c index 7f834f5cc4..95e91500de 100644 --- a/gfx/drivers_font_renderer/stb_unicode.c +++ b/gfx/drivers_font_renderer/stb_unicode.c @@ -26,7 +26,7 @@ #ifndef STB_TRUETYPE_IMPLEMENTATION #define STB_TRUETYPE_IMPLEMENTATION #define STB_RECT_PACK_IMPLEMENTATION -#define STBRP_STATIC +#define STBTT_STATIC #define STBRP_STATIC #define static static INLINE #include "../../deps/stb/stb_rect_pack.h"