diff options
| author | Ray <[email protected]> | 2021-03-03 19:47:37 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-03 19:47:37 +0100 |
| commit | dfe797060abe25f5f17a875bdb5168b2e0c654f7 (patch) | |
| tree | 686c872b0d0933c6be8ddcc05c3d79a635970298 /src/text.c | |
| parent | 408f5aedb8d4966aec3eea47524b7460be9446ea (diff) | |
| download | raylib-dfe797060abe25f5f17a875bdb5168b2e0c654f7.tar.gz raylib-dfe797060abe25f5f17a875bdb5168b2e0c654f7.zip | |
WARNING: BREAKING: RENAMED: enums values
RENAMED: TextureFilterMode values
RENAMED: TextureWrapMode values
Diffstat (limited to 'src/text.c')
| -rw-r--r-- | src/text.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -328,7 +328,7 @@ Font LoadFont(const char *fileName) TRACELOG(LOG_WARNING, "FONT: [%s] Failed to load font texture -> Using default font", fileName); font = GetFontDefault(); } - else SetTextureFilter(font.texture, FILTER_POINT); // By default we set point filter (best performance) + else SetTextureFilter(font.texture, TEXTURE_FILTER_POINT); // By default we set point filter (best performance) return font; } @@ -432,7 +432,7 @@ Font LoadFontFromImage(Image image, Color key, int firstChar) } // NOTE: We need to remove key color borders from image to avoid weird - // artifacts on texture scaling when using FILTER_BILINEAR or FILTER_TRILINEAR + // artifacts on texture scaling when using TEXTURE_FILTER_BILINEAR or TEXTURE_FILTER_TRILINEAR for (int i = 0; i < image.height*image.width; i++) if (COLOR_EQUAL(pixels[i], key)) pixels[i] = BLANK; // Create a new image with the processed color data (key color replaced by BLANK) |
