// TODO Needed to bind OpenGL to Quicktime private QTVisualContextRef textureContext; // TODO Needed to grab frame as a texture private CVOpenGLTextureRef currentFrame; public VideoPlayer() { _state = MediaState.Stopped; _game = Game.Instance; _platform = (MacGamePlatform)_game.Services.GetService(typeof(MacGamePlatform)); }
// TODO Needed to bind OpenGL to Quicktime private QTVisualContextRef textureContext; // TODO Needed to grab frame as a texture private CVOpenGLTextureRef currentFrame; private void PlatformInitialize() { _game = Game.Instance; _platform = (MacGamePlatform)_game.Services.GetService(typeof(MacGamePlatform)); }