1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 18:19:43 +01:00

Avoid calling music.init on startup, reloadresources does this

This commit is contained in:
Ethan Lee 2020-06-12 16:24:21 -04:00
parent 8d652dc256
commit b2f842376b

View file

@ -162,12 +162,10 @@ int main(int argc, char *argv[])
graphics.init(); graphics.init();
music.init();
game.init(); game.init();
game.infocus = true; game.infocus = true;
// This loads music too...
graphics.reloadresources(); graphics.reloadresources();
const SDL_PixelFormat* fmt = gameScreen.GetFormat(); const SDL_PixelFormat* fmt = gameScreen.GetFormat();