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:
parent
6045062a05
commit
ec33e7d705
1 changed files with 3027 additions and 179 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue