diff --git a/Blarg.GameFramework.SDL2/SDLLooper.cs b/Blarg.GameFramework.SDL2/SDLLooper.cs index af77bc1..7221640 100644 --- a/Blarg.GameFramework.SDL2/SDLLooper.cs +++ b/Blarg.GameFramework.SDL2/SDLLooper.cs @@ -487,6 +487,7 @@ namespace Blarg.GameFramework } SDL.SDL_GL_DeleteContext(_glContext); + OpenTK.Graphics.GraphicsContext.CurrentContext = IntPtr.Zero; _glContext = IntPtr.Zero; Platform.Services.Logger.Info(LOOPER_TAG, "OpenGL context destroyed.");