Microsoft.Xna.Framework.MonoGameAndroidGameView.OnLoad C# (CSharp) Method

OnLoad() protected method

protected OnLoad ( EventArgs eventArgs ) : void
eventArgs System.EventArgs
return void
        protected override void OnLoad(EventArgs eventArgs)
        {
            base.OnLoad(eventArgs);
            try
            {
                MakeCurrent();
            }
            catch (Exception e)
            {
                throw new NoSuitableGraphicsDeviceException(e.Message, e);
            }
        }