diff options
| author | Ray San <[email protected]> | 2018-05-04 16:59:48 +0200 |
|---|---|---|
| committer | Ray San <[email protected]> | 2018-05-04 16:59:48 +0200 |
| commit | ec33e7d705e301eb2b74a841e823907295caa37a (patch) | |
| tree | 7726a0d89a862b96cc91ec8a1ba18d07cf022c79 /games/drturtle/04_drturtle_gui.c | |
| parent | 6045062a05a0cc5bd654ad2c2e7d88f94579cd73 (diff) | |
| download | raylib-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 'games/drturtle/04_drturtle_gui.c')
| -rw-r--r-- | games/drturtle/04_drturtle_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/drturtle/04_drturtle_gui.c b/games/drturtle/04_drturtle_gui.c index 5be8f1f1..0ec06fb6 100644 --- a/games/drturtle/04_drturtle_gui.c +++ b/games/drturtle/04_drturtle_gui.c @@ -49,7 +49,7 @@ int main() Texture2D gframe = LoadTexture("resources/gframe.png"); // Load game resources: fonts - SpriteFont font = LoadSpriteFont("resources/komika.png"); + Font font = LoadFont("resources/komika.png"); // Define scrolling variables int backScrolling = 0; @@ -438,7 +438,7 @@ int main() UnloadTexture(gamera); // Unload font texture - UnloadSpriteFont(font); + UnloadFont(font); CloseWindow(); // Close window and OpenGL context //-------------------------------------------------------------------------------------- |
