GLContext.getSharedContext

gdk.glcontext.GLContext getSharedContext()

Used to retrieves the [gdk.glcontext.GLContext] that this context share data with.

As many contexts can share data now and no single shared context exists anymore, this function has been deprecated and now always returns null.

Returns

null

Deprecated

Use [gdk.glcontext.GLContext.isShared] to check if contexts

can be shared.