ソースを参照

Merge pull request #5139 from Siltnamis/stbtt_rl_malloc

use RL_MALLOC in stb_truetype
pull/5143/head
Ray 1ヶ月前
committed by GitHub
コミット
9cc9f3bbbe
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: B5690EEEBB952194
1個のファイルの変更3行の追加0行の削除
  1. +3
    -0
      src/rtext.c

+ 3
- 0
src/rtext.c ファイルの表示

@ -93,6 +93,9 @@
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
#define STBTT_malloc(x,u) ((void)(u),RL_MALLOC(x))
#define STBTT_free(x,u) ((void)(u),RL_FREE(x))
#define STBTT_STATIC
#define STB_TRUETYPE_IMPLEMENTATION
#include "external/stb_truetype.h" // Required for: ttf font data reading

読み込み中…
キャンセル
保存