Removed a feature I never should have added

This commit is contained in:
Stephen Molloy 2023-12-28 00:38:55 +01:00
parent 913458f721
commit 7d9d0a2772

View File

@ -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);