mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-05 13:49:17 -05: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:
@ -57,7 +57,7 @@ int main(void) {
|
||||
InitWindow(screenWidth, screenHeight, windowTitle);
|
||||
|
||||
// Load global data here (assets that must be available in all screens, i.e. fonts)
|
||||
font = LoadSpriteFont("resources/graphics/mainfont.png");
|
||||
font = LoadFont("resources/graphics/mainfont.png");
|
||||
|
||||
atlas01 = LoadTexture("resources/graphics/atlas01.png");
|
||||
atlas02 = LoadTexture("resources/graphics/atlas02.png");
|
||||
@ -114,7 +114,7 @@ int main(void) {
|
||||
|
||||
UnloadTexture(atlas01);
|
||||
UnloadTexture(atlas02);
|
||||
UnloadSpriteFont(font);
|
||||
UnloadFont(font);
|
||||
|
||||
UnloadShader(colorBlend); // Unload color overlay blending shader
|
||||
|
||||
|
||||
Reference in New Issue
Block a user