Removed a feature I never should have added
This commit is contained in:
parent
913458f721
commit
7d9d0a2772
|
|
@ -379,14 +379,8 @@ Font LoadFontEx(const char *fileName, int fontSize, int *codepoints, int codepoi
|
|||
}
|
||||
|
||||
// Reload the font after adding the new characters to the list of desired characters
|
||||
// Passing NULL to the newChars variable results in a reset to the default of LoadFontEx
|
||||
void AddNewCharsToFontEx(Font *font, const char *fileName, int fontSize, char *newChars)
|
||||
{
|
||||
if (newChars == NULL) {
|
||||
*font = LoadFontEx(fileName, fontSize, NULL, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
int codepointCount = 0;
|
||||
int *codepoints = LoadCodepoints(newChars, &codepointCount);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user