diff options
| author | raysan5 <raysan5@gmail.com> | 2017-04-22 19:04:54 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2017-04-22 19:04:54 +0200 |
| commit | b0f8ea27e3d7417c0f0c9795aa315dac399c97bf (patch) | |
| tree | 854c517f98f4028e45aa57c4341ef80724f83fec /docs/examples/src | |
| parent | 5620e739149ee2a8d3152f11eb444d4e982352ab (diff) | |
| download | raylib-b0f8ea27e3d7417c0f0c9795aa315dac399c97bf.tar.gz raylib-b0f8ea27e3d7417c0f0c9795aa315dac399c97bf.zip | |
Renamed function for lib consistency
LoadSpriteFontTTF() --> LoadSpriteFontEx()
Diffstat (limited to 'docs/examples/src')
| -rw-r--r-- | docs/examples/src/text/text_ttf_loading.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/src/text/text_ttf_loading.c b/docs/examples/src/text/text_ttf_loading.c index 4e490399..02b7f95f 100644 --- a/docs/examples/src/text/text_ttf_loading.c +++ b/docs/examples/src/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(); } } |
