diff options
| author | Ray <[email protected]> | 2017-04-24 00:18:53 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-04-24 00:18:53 +0200 |
| commit | 71fe3c0b086c9cf7707d9ef455c57360f88be8a1 (patch) | |
| tree | 1d1b7dfc780fd6049f68b5d69d9194add1302dfd /examples/text/text_ttf_loading.c | |
| parent | 0ed82150f0228c949c36f9ee83d4c2e0c92f9d0e (diff) | |
| parent | 9a515ae9db9f63d5bfa8545cfbbfdce683daf5f6 (diff) | |
| download | raylib-71fe3c0b086c9cf7707d9ef455c57360f88be8a1.tar.gz raylib-71fe3c0b086c9cf7707d9ef455c57360f88be8a1.zip | |
Merge pull request #269 from raysan5/develop
Integrate develop branch
Diffstat (limited to 'examples/text/text_ttf_loading.c')
| -rw-r--r-- | examples/text/text_ttf_loading.c | 4 |
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(); } } |
