Update rtext.c

This commit is contained in:
Hanaxar 2023-03-17 13:51:23 +03:00 committed by GitHub
parent c819af1d40
commit c2e1e38009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -702,7 +702,7 @@ Image GenImageFontAtlas(const GlyphInfo *chars, Rectangle **charRecs, int glyphC
do
{
imageSize *= 2; // Double the size of image (to keep POT)
rowCount = imageSize/(fontSize + 2*padding) + 1; // Calculate new row count for the new image size
rowCount = imageSize/(fontSize + 2*padding); // Calculate new row count for the new image size
}
while (totalWidth > imageSize*rowCount);