diff options
| author | raysan5 <[email protected]> | 2016-10-31 20:39:03 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2016-10-31 20:39:03 +0100 |
| commit | 673dcf94364d37f3d52285ac27c88707ae567872 (patch) | |
| tree | 23e63c55662410be2c3147aac1ddc3e950cc47df /src/textures.c | |
| parent | cc917fbac6e7007fdb744afaf8f0879c984d95af (diff) | |
| download | raylib-673dcf94364d37f3d52285ac27c88707ae567872.tar.gz raylib-673dcf94364d37f3d52285ac27c88707ae567872.zip | |
Comments tweaks
Diffstat (limited to 'src/textures.c')
| -rw-r--r-- | src/textures.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textures.c b/src/textures.c index 729756a5..5354a74f 100644 --- a/src/textures.c +++ b/src/textures.c @@ -8,7 +8,7 @@ * stb_image - Multiple formats image loading (JPEG, PNG, BMP, TGA, PSD, GIF, PIC) * NOTE: stb_image has been slightly modified, original library: https://github.com/nothings/stb * -* Copyright (c) 2014 Ramon Santamaria (@raysan5) +* Copyright (c) 2014-2016 Ramon Santamaria (@raysan5) * * This software is provided "as-is", without any express or implied warranty. In no event * will the authors be held liable for any damages arising from the use of this software. @@ -1241,7 +1241,7 @@ Image ImageTextEx(SpriteFont font, const char *text, float fontSize, int spacing // NOTE: GetTextureData() not available in OpenGL ES Image imFont = GetTextureData(font.texture); - ImageFormat(&imFont, UNCOMPRESSED_R8G8B8A8); // Required for color tint + ImageFormat(&imFont, UNCOMPRESSED_R8G8B8A8); // Convert to 32 bit for color tint ImageColorTint(&imFont, tint); // Apply color tint to font Color *fontPixels = GetImageData(imFont); |
