diff options
| author | raysan5 <raysan5@gmail.com> | 2015-09-02 01:08:41 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2015-09-02 01:08:41 +0200 |
| commit | 4879106096c868e5c8f16ca3796dcb9c85c0dac6 (patch) | |
| tree | 48bd97f71bef414866151e0dec1a96827005b6ff /src/text.c | |
| parent | e28fef6ee0a1a35171e27cde6bbfd7bc4025dc4a (diff) | |
| download | raylib-4879106096c868e5c8f16ca3796dcb9c85c0dac6.tar.gz raylib-4879106096c868e5c8f16ca3796dcb9c85c0dac6.zip | |
Reviewed to work on Raspberry Pi
[rlgl] Extensions strings loading was redone to avoid a Segmentation
Fault on Raspberry Pi
Diffstat (limited to 'src/text.c')
| -rw-r--r-- | src/text.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -221,8 +221,6 @@ extern void UnloadDefaultFont(void) UnloadTexture(defaultFont.texture); free(defaultFont.charValues); free(defaultFont.charRecs); - - TraceLog(INFO, "Unloaded default font data"); } // Get the default font, useful to be used with extended parameters @@ -243,7 +241,7 @@ SpriteFont LoadSpriteFont(const char *fileName) { Image image = LoadImage(fileName); -#if defined(PLATFORM_RPI) || defined(PLATFORM_WEB) +#if defined(PLATFORM_WEB) ImageConvertToPOT(&image, MAGENTA); #endif // Process bitmap font pixel data to get characters measures |
