-
-
Notifications
You must be signed in to change notification settings - Fork 488
Open
Description
Creating a new display with Display::new(...)
using WGL, changes the current OpenGL context, or to be more precise unsets the current context. This is caused by the construction and destruction of a temporary context in glutin::wgl::load_extra_functions
.
Call of load_extra_functions
in Display::new
wglMakeCurrent(..)
in load_extra_functions(...)
I'm not sure if there is a good way to restore the original context, but I think this behaviour should atleast be described in the documentation of glutin::wgl::load_extra_functions
and Display::new
.
I hope I have some spare time to provide a suggestion in the next days.