moderngl / moderngl-window

A cross platform utility library for ModernGL making window creation and resource loading simple
MIT License
244 stars 57 forks source link

BaseWindow and WindowConfig instances reference each other #105

Closed nir closed 4 years ago

nir commented 4 years ago

BaseWindow and WindowConfig instances reference each other.

Here are links to the relevant lines in the code:

https://github.com/moderngl/moderngl-window/blob/5cf117ca9c0ef8cbde772d51041a039fc611b6c7/moderngl_window/context/base/window.py#L397

https://github.com/moderngl/moderngl-window/blob/5cf117ca9c0ef8cbde772d51041a039fc611b6c7/moderngl_window/context/base/window.py#L862

https://github.com/moderngl/moderngl-window/blob/5cf117ca9c0ef8cbde772d51041a039fc611b6c7/moderngl_window/__init__.py#L193

einarf commented 4 years ago

Fixed in 6a6b201da07c1e70dbdd339fa6f436a8cc299c3f