Releases: moderngl/glcontext
Releases · moderngl/glcontext
2.3.0
2.3.dev0
2.2.0
2.1.0
- Support setting backend arguments using environment variables.
GLCONTEXT_GLVERSION
for setting opengl versionGLCONTEXT_LINUX_LIBGL
for specifying libgl nameGLCONTEXT_LINUX_LIBX11
for specifying libx11 nameGLCONTEXT_LINUX_LIBEGL
for specifying libegl nameGLCONTEXT_WIN_LIBGL
for specifying dll name
- x11: More details in error messages
2.0.0
Support passing in values to backends for more detailed configuration. Method signatures have changed so upgrading from 1.* needs smaller code changes.
default_backend()
no longer takes any arguments- The returned backend now takes
glversion
and other arguments - The
standalone
argument is now calledmode
and can containstandalone
,share
anddetect
. - Added
get_backend_by_name
for requesting specific backends like EGL.