diff options
| author | Ray <[email protected]> | 2023-09-02 12:58:47 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-09-02 12:58:47 +0200 |
| commit | 75e5cd86d7d1c4c6e0f266f3ae68f3af34fa78ac (patch) | |
| tree | 63249b88b21ea1d3b266c9e2bf93112aaaa97a4f /src/rtext.c | |
| parent | 6e18d96e7ad45e63c15b5e1f6f2ca52d2e9fab4a (diff) | |
| download | raylib-75e5cd86d7d1c4c6e0f266f3ae68f3af34fa78ac.tar.gz raylib-75e5cd86d7d1c4c6e0f266f3ae68f3af34fa78ac.zip | |
Use internal default allocators, instead of user-exposed ones
Diffstat (limited to 'src/rtext.c')
| -rw-r--r-- | src/rtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtext.c b/src/rtext.c index facf24c2..5ca97d06 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -975,7 +975,7 @@ bool ExportFontAsCode(Font font, const char *fileName) byteCount += sprintf(txtData + byteCount, "static unsigned char fontData_%s[COMPRESSED_DATA_SIZE_FONT_%s] = { ", fileNamePascal, TextToUpper(fileNamePascal)); for (int i = 0; i < compDataSize - 1; i++) byteCount += sprintf(txtData + byteCount, ((i%TEXT_BYTES_PER_LINE == 0)? "0x%02x,\n " : "0x%02x, "), compData[i]); byteCount += sprintf(txtData + byteCount, "0x%02x };\n\n", compData[compDataSize - 1]); - MemFree(compData); + RL_FREE(compData); #else // Save font image data (uncompressed) byteCount += sprintf(txtData + byteCount, "// Font image pixels data\n"); |
