Defined in pyglet.gl
get_current_context
()¶Return the active OpenGL context.
You can change the current context by calling Context.set_current.
Warning
Deprecated. Use current_context
Return type: | Context |
---|---|
Returns: | the context to which OpenGL commands are directed, or None if there is no selected context. |