Moderngl

Latest version: v5.12.0

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

2.4.0

Python 3.5 is no longer supported from this version.

New Features

* Experimental: New simple 2D text writer
* Various smaller improvements
* F11 now toggles fullscreen mode by default
* Window modules are now fetched from `moderngl_window.WINDOW_CLASSES`
as a fallback. This is necessary in some environments.
* Absolute paths will now bypass all registered resource directories
and load the specified file directly.

Bug Fixes

* Varying names can now be passed in when loading a program.
Since the auto detection of out attributes is far from perfect
this can be needed for more complex shaders.
* Missing python 3.9 classifier in setup.py
* SDL2 window should now also process since change events
* GLFW: Fixed some incorrect key mappings
* Fixed an issue with timers causing the first frame to have negative frame time
* Fixed a pixel scale issue in the imgui integration. This was especially
an issue with tiling window managers

2.3.7

Python 3.11 support

2.3.6

Expose headless/standalone flag

2.3.3

* Missing manylinux wheels for python 3.9
* Minor issue in setup.py

2.3.0

New Features

* Added a simple Scheduler (Thanks to Leterax)
* Added support for toggling fullscreen
* Added support for setting window icon
* `TextureDescription` now supports flipping the texture on x and y
* The pyglet window now supports dragging in files
* Added `BaseWindow.convert_window_coordinates` for converting mouse coordinates
* Added more examples

Bug Fixes

* BaseWindow now references WindowConfig using a weakref
* Overriding the timer in `run_window_config` had no effect
* Numpad keys was not mapped correctly in some instances
* Timers should return 0 when not started
* glfw window close callback did now work
* glfw now respects content scaling on windows and X11
* Added some missing methods in docs
* Fixed various doc typos

2.3.dev0

* EGL backend will now use `eglQueryDevicesEXT` instead of only relying on `EGL_DEFAULT_DISPLAY`
* EGL backend now supports `device_index` for selecting a device

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.