From dc6a8817de6be6a0e9256d1f12b5884994c3691b Mon Sep 17 00:00:00 2001
From: yangfl <yangfl@users.noreply.github.com>
Date: Fri, 12 Feb 2021 18:57:08 +0800
Subject: [PATCH 2/8] Mask out rectangle packing replacement in stb_truetype

---
 stb_rect_pack_truetype.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 stb_rect_pack_truetype.c

diff --git a/stb_rect_pack_truetype.c b/stb_rect_pack_truetype.c
new file mode 100644
index 0000000..1192084
--- /dev/null
+++ b/stb_rect_pack_truetype.c
@@ -0,0 +1,15 @@
+////////////////////////////////////////////////////////////////////////////////////
+//                                                                                //
+//                                                                                //
+// COMPILER WARNING ?!?!?                                                         //
+//                                                                                //
+//                                                                                //
+// if you get a compile warning due to these symbols being defined more than      //
+// once, move #include "stb_rect_pack.h" before #include "stb_truetype.h"         //
+//                                                                                //
+////////////////////////////////////////////////////////////////////////////////////
+
+#define STB_RECT_PACK_IMPLEMENTATION
+#include "stb_rect_pack.h"
+#define STB_TRUETYPE_IMPLEMENTATION
+#include "stb_truetype.h"
-- 
2.30.0

