Closed CCnut closed 3 months ago
I guess if you can place the library next to your binary and name it like that it'll just load it.
Though, we don't have a way to set a any variable to alter dynamic loading.
Maybe we should add a GLUTIN_WGL_OPENGL_DLL
or something like that, but given that you can rename it could work just fine with put next to binary
.
I want opengl32.dll
and opengl32sw.dll
to coexist and be switchable to opengl32sw.dll
when needed.
Can a variable be added to set filename? Like
QT_OPENGL_DLL
. https://github.com/rust-windowing/glutin/blob/92281268669b4e5db4569b92ff23b6d2c01cd325/glutin/src/api/wgl/display.rs#L53