summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-03 19:47:37 +0100
committerRay <[email protected]>2021-03-03 19:47:37 +0100
commitdfe797060abe25f5f17a875bdb5168b2e0c654f7 (patch)
tree686c872b0d0933c6be8ddcc05c3d79a635970298 /src/text.c
parent408f5aedb8d4966aec3eea47524b7460be9446ea (diff)
downloadraylib-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text.c b/src/text.c
index e0b0b324..be8ab48c 100644
--- a/src/text.c
+++ b/src/text.c
@@ -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)