Author Topic:  Went out of fullscreen bug  (Read 149 times)

0 Members and 1 Guest are viewing this topic.

ixoSWAToxi

  • Jr. Member
  • **
  • Posts: 40
    • View Profile
    • Awards
  • Xbox: ixo SWAT oxi
Went out of fullscreen bug
« on: February 27, 2018, 03:28:56 PM »
Total Miner.  Please take a photo of this screen and post it on TotalMinerForums.net, so that we can fix it. Thank you.

System.InvalidOperationException: A previous Draw call threw an unhandled exception. See InnerException for details. ---> System.ArgumentException: The viewport is invalid. The viewport cannot be larger than or outside of the current render target bounds. The MinDepth and MaxDepth must be between 0 and 1.
Parameter name: value
   at Microsoft.Xna.Framework.Graphics.GraphicsDevice.set_Viewport(Viewport value)
   at StudioForge.Engine.GameState.ScreenManager.FixViewport()
   at StudioForge.Engine.GameState.ScreenManager.SetViewport(Viewport vp)
   at StudioForge.Engine.GameState.ScreenManager.Draw(Boolean msgbox)
   at StudioForge.Engine.GameState.ScreenManager.Draw(GameTime donotuse)
   at Microsoft.Xna.Framework.Game.Draw(GameTime gameTime)
   at StudioForge.Engine.Game.BaseGame.Draw(GameTime donotuse)
   at Microsoft.Xna.Framework.Game.DrawFrame()
   at Microsoft.Xna.Framework.Game.Paint(Object sender, EventArgs e)
   at Microsoft.Xna.Framework.GameWindow.OnPaint()
   at Microsoft.Xna.Framework.WindowsGameWindow.mainForm_Paint(Object sender, PaintEventArgs e)
   --- End of inner exception stack trace ---
   at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at Microsoft.Xna.Framework.WindowsGameHost.Run()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at StudioForge.Engine.Game.BaseGame.Run[T]()