mono/MonoGame — pull request #496 by danzel (2012-06-04 10:49:46+00:00)
Title: Develop3d - PSS Fixes: Song & Double Render Bug

2 Commits for PSS today.

1) Gets Song to work. You can only have one BgmPlayer around at a time (creating a second = crash), so we ensure that is the case by having a static one and ensuring it is null before making a new one.

2) Stops PSSGamePlatform calling Render itself, Game.Tick() Calls it internally, so calling it again makes us call Game.Draw(...) twice, making rendering happen twice as often as it should. This bug is also on Android as mentioned here: https://github.com/mono/MonoGame/pull/494#issuecomment-6091936