mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-24 10:39:43 +01:00
Avoid calling music.init on startup, reloadresources does this
This commit is contained in:
parent
8d652dc256
commit
b2f842376b
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue