summaryrefslogtreecommitdiffhomepage
path: root/examples/textures/textures_image_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/textures/textures_image_text.c')
-rw-r--r--examples/textures/textures_image_text.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/textures/textures_image_text.c b/examples/textures/textures_image_text.c
index 1d4231f7..0a939b8d 100644
--- a/examples/textures/textures_image_text.c
+++ b/examples/textures/textures_image_text.c
@@ -20,8 +20,8 @@ int main()
InitWindow(screenWidth, screenHeight, "raylib [texture] example - image text drawing");
- // TTF SpriteFont loading with custom generation parameters
- SpriteFont font = LoadSpriteFontEx("resources/KAISG.ttf", 64, 0, 0);
+ // TTF Font loading with custom generation parameters
+ Font font = LoadFontEx("resources/KAISG.ttf", 64, 0, 0);
Image parrots = LoadImage("resources/parrots.png"); // Load image in CPU memory (RAM)
@@ -74,7 +74,7 @@ int main()
//--------------------------------------------------------------------------------------
UnloadTexture(texture); // Texture unloading
- UnloadSpriteFont(font); // Unload custom spritefont
+ UnloadFont(font); // Unload custom spritefont
CloseWindow(); // Close window and OpenGL context
//--------------------------------------------------------------------------------------