diff options
| author | Ray <[email protected]> | 2023-08-10 22:47:17 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-08-10 22:47:17 +0200 |
| commit | 93f59a6f5912aa07fcfc2268ce119da09dff458a (patch) | |
| tree | 7de73ac8e780731a1bbd3ce318f352578e099d1f /src/rtext.c | |
| parent | f1c31bee279285ad941acc1140caeb3dca86867f (diff) | |
| download | raylib-93f59a6f5912aa07fcfc2268ce119da09dff458a.tar.gz raylib-93f59a6f5912aa07fcfc2268ce119da09dff458a.zip | |
Review tabs and trail-spaces
Diffstat (limited to 'src/rtext.c')
| -rw-r--r-- | src/rtext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtext.c b/src/rtext.c index f5234ecf..a66c5810 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -852,7 +852,7 @@ Image GenImageFontAtlas(const GlyphInfo *chars, Rectangle **charRecs, int glyphC RL_FREE(nodes); RL_FREE(context); } - + #if defined(SUPPORT_FONT_ATLAS_WHITE_REC) // Add a 3x3 white rectangle at the bottom-right corner of the generated atlas, // useful to use as the white texture to draw shapes with raylib, using this rectangle @@ -865,7 +865,7 @@ Image GenImageFontAtlas(const GlyphInfo *chars, Rectangle **charRecs, int glyphC k -= atlas.width; } #endif - + // 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 |
