summaryrefslogtreecommitdiffhomepage
path: root/src/rtextures.c
diff options
context:
space:
mode:
authorRay <[email protected]>2022-11-10 12:03:17 +0100
committerRay <[email protected]>2022-11-10 12:03:17 +0100
commit31edd13a72edd69993074941e013cbeff475f782 (patch)
tree2dc1e6ba56f33d7ad23cecab71e31d203a39586b /src/rtextures.c
parent3888299bf5f50a828a26ce52e29db41a8764a193 (diff)
downloadraylib-31edd13a72edd69993074941e013cbeff475f782.tar.gz
raylib-31edd13a72edd69993074941e013cbeff475f782.zip
Minor formating tweaks
Diffstat (limited to 'src/rtextures.c')
-rw-r--r--src/rtextures.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index a23224a0..6b8af71d 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -1297,6 +1297,7 @@ Image ImageTextEx(Font font, const char *text, float fontSize, float spacing, Co
TRACELOG(LOG_INFO, "IMAGE: Text scaled by factor: %f", scaleFactor);
// Using nearest-neighbor scaling algorithm for default font
+ // TODO: Allow defining the preferred scaling mechanism externally
// WARNING: Module required: rtext
if (font.texture.id == GetFontDefault().texture.id) ImageResizeNN(&imText, (int)(imSize.x*scaleFactor), (int)(imSize.y*scaleFactor));
else ImageResize(&imText, (int)(imSize.x*scaleFactor), (int)(imSize.y*scaleFactor));