Hello,
when I try to call Exit() (or this.Exit or System.Threading.Thread.CurrentThread.Abort()) in my gameclass there is an exception: An unhandled exception of type ‘OpenTK.Graphics.GraphicsContextException’ occurred in OpenTK.dll
Additional information: Failed to make context 0 current. Error: 6
I have installed the newest version of Monogame(3.4) and i’m using OpenTK from the monogame folder (both located in MonoGame\v3.0\Assemblies\WindowsGL…). There are no other Exceptions or problems.
My System is: i5 + GTX 660TI (newest drivers installed) + Win8 64bit and VS 2012
Many thanks in advance,
Dominik
Edit #1: Solved the problem was i didn’t start the game right. So advise to everyone with this problem:
using (var game = new MainGame())
game.Run();
use this code to start your game and don’t try to do it withput the using !