public OpenTKGamePlatform(Game game)
: base(game)
{
toolkit = Toolkit.Init();
_view = new OpenTKGameWindow(game);
this.Window = _view;
// Setup our OpenALSoundController to handle our SoundBuffer pools
try
{
soundControllerInstance = OpenALSoundController.GetInstance;
}
catch (DllNotFoundException ex)
{
throw (new NoAudioHardwareException("Failed to init OpenALSoundController", ex));
}
}