diff options
| author | Ray <[email protected]> | 2023-12-11 09:21:30 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-12-11 09:21:30 +0100 |
| commit | 6f3c87a99969e92ada46e54258b1653994c24903 (patch) | |
| tree | fcd5c0a8ef0bce253525bfbcce8830fb184d2433 /src | |
| parent | 31d3ed97c75b4492cea55b458459946f7c739938 (diff) | |
| download | raylib-6f3c87a99969e92ada46e54258b1653994c24903.tar.gz raylib-6f3c87a99969e92ada46e54258b1653994c24903.zip | |
Fix #3613
Diffstat (limited to 'src')
| -rw-r--r-- | src/rtextures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtextures.c b/src/rtextures.c index 8742b0c9..c78b0ebf 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -3706,7 +3706,7 @@ void ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dstRec, Color // Draw text (default font) within an image (destination) void ImageDrawText(Image *dst, const char *text, int posX, int posY, int fontSize, Color color) { -#if defined(SUPPORT_MODULE_RTEXT) +#if defined(SUPPORT_MODULE_RTEXT) && defined(SUPPORT_DEFAULT_FONT) // Make sure default font is loaded to be used on image text drawing if (GetFontDefault().texture.id == 0) LoadFontDefault(); |
