summaryrefslogtreecommitdiffhomepage
path: root/examples/text/text_bmfont_unordered.c
diff options
context:
space:
mode:
authorRay San <[email protected]>2018-05-04 16:59:48 +0200
committerRay San <[email protected]>2018-05-04 16:59:48 +0200
commitec33e7d705e301eb2b74a841e823907295caa37a (patch)
tree7726a0d89a862b96cc91ec8a1ba18d07cf022c79 /examples/text/text_bmfont_unordered.c
parent6045062a05a0cc5bd654ad2c2e7d88f94579cd73 (diff)
downloadraylib-ec33e7d705e301eb2b74a841e823907295caa37a.tar.gz
raylib-ec33e7d705e301eb2b74a841e823907295caa37a.zip
BREAKING CHANGE: Renamed SpriteFont type to Font
- Preparing MP3 files support - Jumped version to raylib 2.0-dev (too many breaking changes...)
Diffstat (limited to 'examples/text/text_bmfont_unordered.c')
-rw-r--r--examples/text/text_bmfont_unordered.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/text/text_bmfont_unordered.c b/examples/text/text_bmfont_unordered.c
index 01561bec..a5147619 100644
--- a/examples/text/text_bmfont_unordered.c
+++ b/examples/text/text_bmfont_unordered.c
@@ -25,7 +25,7 @@ int main()
const char msg[256] = "ASCII extended characters:\n¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆ\nÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæ\nçèéêëìíîïðñòóôõö÷øùúûüýþÿ";
// NOTE: Loaded font has an unordered list of characters (chars in the range 32..255)
- SpriteFont font = LoadSpriteFont("resources/pixantiqua.fnt"); // BMFont (AngelCode)
+ Font font = LoadFont("resources/pixantiqua.fnt"); // BMFont (AngelCode)
SetTargetFPS(60);
//--------------------------------------------------------------------------------------
@@ -56,7 +56,7 @@ int main()
// De-Initialization
//--------------------------------------------------------------------------------------
- UnloadSpriteFont(font); // AngelCode SpriteFont unloading
+ UnloadFont(font); // AngelCode Font unloading
CloseWindow(); // Close window and OpenGL context
//--------------------------------------------------------------------------------------