diff --git a/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs b/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs index 77888e44fb..dfa9d41970 100644 --- a/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs +++ b/OpenRA.Platforms.Default/Sdl2GraphicsDevice.cs @@ -76,6 +76,7 @@ namespace OpenRA.Platforms.Default context = SDL.SDL_GL_CreateContext(window); SDL.SDL_GL_MakeCurrent(window, context); + GraphicsContext.CurrentContext = context; GL.LoadAll(); ErrorHandler.CheckGlVersion();