mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-15 18:53:11 +00:00
Removed unnecessary
This commit is contained in:
parent
b570b32337
commit
a90c9c5ade
@ -688,8 +688,7 @@ void UnloadFont(Font font)
|
|||||||
{
|
{
|
||||||
for (int i = 0; i < font.charsCount; i++)
|
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);
|
UnloadTexture(font.texture);
|
||||||
free(font.chars);
|
free(font.chars);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user