summaryrefslogtreecommitdiffhomepage
path: root/templates/advance_game/advance_game.c
diff options
context:
space:
mode:
Diffstat (limited to 'templates/advance_game/advance_game.c')
-rw-r--r--templates/advance_game/advance_game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/advance_game/advance_game.c b/templates/advance_game/advance_game.c
index 768b2f94..48a34f6d 100644
--- a/templates/advance_game/advance_game.c
+++ b/templates/advance_game/advance_game.c
@@ -58,7 +58,7 @@ int main(void)
// Global data loading (assets that must be available in all screens, i.e. fonts)
InitAudioDevice();
- font = LoadSpriteFont("resources/mecha.png");
+ font = LoadFont("resources/mecha.png");
music = LoadMusicStream("resources/ambient.ogg");
fxCoin = LoadSound("resources/coin.wav");
@@ -96,7 +96,7 @@ int main(void)
}
// Unload all global loaded data (i.e. fonts) here!
- UnloadSpriteFont(font);
+ UnloadFont(font);
UnloadMusicStream(music);
UnloadSound(fxCoin);