Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Dec 11, 2023
1 parent 31d3ed9 commit 6f3c87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtextures.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 6f3c87a

Please sign in to comment.