diff options
| author | Ray <[email protected]> | 2021-10-13 23:45:57 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-10-13 23:45:57 +0200 |
| commit | 83b3478fe40ac3160606392373483649c93aa5ed (patch) | |
| tree | 01666be170255180fd17eff9cf23763e755ce4a6 /src/rtext.c | |
| parent | 51b147cd322c88d2bc4a84e89f826cac9198a45b (diff) | |
| download | raylib-83b3478fe40ac3160606392373483649c93aa5ed.tar.gz raylib-83b3478fe40ac3160606392373483649c93aa5ed.zip | |
Reviewed some TODO
Diffstat (limited to 'src/rtext.c')
| -rw-r--r-- | src/rtext.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rtext.c b/src/rtext.c index c4388cd0..0cd26263 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -775,8 +775,6 @@ Image GenImageFontAtlas(const GlyphInfo *chars, Rectangle **charRecs, int glyphC RL_FREE(context); } - // TODO: Crop image if required for smaller size - // Convert image data from GRAYSCALE to GRAY_ALPHA unsigned char *dataGrayAlpha = (unsigned char *)RL_MALLOC(atlas.width*atlas.height*sizeof(unsigned char)*2); // Two channels @@ -1352,7 +1350,7 @@ const char *TextToUpper(const char *text) buffer[i] = (char)toupper(text[i]); //if ((text[i] >= 'a') && (text[i] <= 'z')) buffer[i] = text[i] - 32; - // TODO: Support UTF-8 diacritics! + // TODO: Support UTF-8 diacritics to upper-case //if ((text[i] >= 'à') && (text[i] <= 'ý')) buffer[i] = text[i] - 32; } else { buffer[i] = '\0'; break; } |
