Update rtext.c

This commit is contained in:
Ray 2023-09-08 20:01:19 +02:00 committed by Brian-E
parent 8c2932b45d
commit 3c1331f954

View File

@ -788,7 +788,7 @@ Image GenImageFontAtlas(const GlyphInfo *glyphs, Rectangle **glyphRecs, int glyp
} }
} }
// Copy pixel data from fc.data to atlas // Copy pixel data from glyph image to atlas
for (int y = 0; y < glyphs[i].image.height; y++) for (int y = 0; y < glyphs[i].image.height; y++)
{ {
for (int x = 0; x < glyphs[i].image.width; x++) for (int x = 0; x < glyphs[i].image.width; x++)