diff options
| author | Ray <[email protected]> | 2023-07-02 10:51:39 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-07-02 10:51:39 +0200 |
| commit | 48e2663d03a74b26d86e06057d659ddc9b1b7693 (patch) | |
| tree | c96547ebec2d7b4689b05b5eb05ebe4d1e192a47 /src/rtextures.c | |
| parent | df90da0b3750b654c1ec660f83e461aae03a3b6b (diff) | |
| download | raylib-48e2663d03a74b26d86e06057d659ddc9b1b7693.tar.gz raylib-48e2663d03a74b26d86e06057d659ddc9b1b7693.zip | |
REVIEWED: Issue #3105
Diffstat (limited to 'src/rtextures.c')
| -rw-r--r-- | src/rtextures.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rtextures.c b/src/rtextures.c index 2d422b17..bc53e1ce 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -3290,8 +3290,7 @@ void ImageDrawText(Image *dst, const char *text, int posX, int posY, int fontSiz if (GetFontDefault().texture.id == 0) LoadFontDefault(); Vector2 position = { (float)posX, (float)posY }; - // NOTE: For default font, spacing is set to desired font size / default font size (10) - ImageDrawTextEx(dst, GetFontDefault(), text, position, (float)fontSize, (float)fontSize/10, color); // WARNING: Module required: rtext + ImageDrawTextEx(dst, GetFontDefault(), text, position, (float)fontSize, 1.0f, color); // WARNING: Module required: rtext #else TRACELOG(LOG_WARNING, "IMAGE: ImageDrawText() requires module: rtext"); #endif |
