瀏覽代碼

Fix #3613

pull/3628/head
Ray 1 年之前
父節點
當前提交
6f3c87a999
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rtextures.c

+ 1
- 1
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();

Loading…
取消
儲存