mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-02 07:23:53 +03:00
Avoid calling music.init on startup, reloadresources does this
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user