glXGetCurrentReadDrawable

return the current drawable

Signature

glXGetCurrentReadDrawable( )-> GLXDrawable
glXGetCurrentReadDrawable( ) -> <class 'ctypes.c_ulong'>

Description

glXGetCurrentReadDrawable returns the current read drawable, as specified by read parameter of glXMakeContextCurrent . If there is no current drawable, None is returned.
glXGetCurrentReadDrawable returns client-side information. It does not make a round-trip to the server.

Notes

glXGetCurrentReadDrawable is only supported if the GLX version is 1.3 or greater.

See Also