diff options
| -rw-r--r-- | src/models.c | 2 | ||||
| -rw-r--r-- | src/text.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/models.c b/src/models.c index 6d95441f..935b9779 100644 --- a/src/models.c +++ b/src/models.c @@ -3455,7 +3455,7 @@ static Model LoadGLTF(const char *fileName) { /*********************************************************************************** - Function implemented by Wilhem Barbier(@wbrbr), with modifications by Tyler Bezera(@gamerfiend) + Function implemented by Wilhem Barbier(@wbrbr), with modifications by Tyler Bezera(@gamerfiend) Features: - Supports .gltf and .glb files @@ -1446,7 +1446,7 @@ char *TextToUtf8(int *codepoints, int length) // Resize memory to text length + string NULL terminator void *ptr = RL_REALLOC(text, size + 1); - + if (ptr != NULL) text = (char *)ptr; return text; |
