Browse Source

Removed unnecessary

pull/773/head
Skabunkel 5 years ago
parent
commit
a90c9c5ade
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/text.c

+ 1
- 2
src/text.c View File

@ -688,8 +688,7 @@ void UnloadFont(Font font)
{
for (int i = 0; i < font.charsCount; i++)
{
if(font.chars[i].data != NULL)
free(font.chars[i].data);
free(font.chars[i].data);
}
UnloadTexture(font.texture);
free(font.chars);

Loading…
Cancel
Save