This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Merge pull request
#773
from Skabunkel/master
Removed unnecessary if
pull/775/head
Ray
5 years ago
committed by
GitHub
parent
b570b32337
a90c9c5ade
commit
5735f13fe5
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
;
Write
Preview
Loading…
Cancel
Save