}
// Make the GDK GL context current
- Context.MakeCurrent();
+ MakeCurrent();
// Create an OpenTK graphics context using the GdkGLContext as a foreign context
// Since the GDK context is already created and has been made current, we can retrieve its handle.
GetRequiredVersion(out int glVersionMajor, out int glVersionMinor);
_GraphicsContext = new GraphicsContext(gdkContextHandle, _WindowInfo, null, glVersionMajor, glVersionMinor, GraphicsContextFlags);
- _GraphicsContext.MakeCurrent(_WindowInfo);
+
+ MakeCurrent();
if (GraphicsContext.ShareContexts)
{