mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-05 09:26:26 +00:00
BREAKING CHANGE: Renamed SpriteFont type to Font
- Preparing MP3 files support - Jumped version to raylib 2.0-dev (too many breaking changes...)
This commit is contained in:
@@ -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
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user