summaryrefslogtreecommitdiffhomepage
path: root/examples/text
diff options
context:
space:
mode:
authorRay <[email protected]>2017-04-24 00:18:53 +0200
committerGitHub <[email protected]>2017-04-24 00:18:53 +0200
commit71fe3c0b086c9cf7707d9ef455c57360f88be8a1 (patch)
tree1d1b7dfc780fd6049f68b5d69d9194add1302dfd /examples/text
parent0ed82150f0228c949c36f9ee83d4c2e0c92f9d0e (diff)
parent9a515ae9db9f63d5bfa8545cfbbfdce683daf5f6 (diff)
downloadraylib-71fe3c0b086c9cf7707d9ef455c57360f88be8a1.tar.gz
raylib-71fe3c0b086c9cf7707d9ef455c57360f88be8a1.zip
Merge pull request #269 from raysan5/develop
Integrate develop branch
Diffstat (limited to 'examples/text')
-rw-r--r--examples/text/text_ttf_loading.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/text/text_ttf_loading.c b/examples/text/text_ttf_loading.c
index 4e490399..02b7f95f 100644
--- a/examples/text/text_ttf_loading.c
+++ b/examples/text/text_ttf_loading.c
@@ -25,7 +25,7 @@ int main()
// NOTE: Textures/Fonts MUST be loaded after Window initialization (OpenGL context is required)
// TTF SpriteFont loading with custom generation parameters
- SpriteFont font = LoadSpriteFontTTF("resources/KAISG.ttf", 96, 0, 0);
+ SpriteFont font = LoadSpriteFontEx("resources/KAISG.ttf", 96, 0, 0);
// Generate mipmap levels to use trilinear filtering
// NOTE: On 2D drawing it won't be noticeable, it looks like FILTER_BILINEAR
@@ -82,7 +82,7 @@ int main()
if (count == 1) // Only support one ttf file dropped
{
UnloadSpriteFont(font);
- font = LoadSpriteFontTTF(droppedFiles[0], fontSize, 0, 0);
+ font = LoadSpriteFontEx(droppedFiles[0], fontSize, 0, 0);
ClearDroppedFiles();
}
}