Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a variable to set opengl.dll filename on WGL #1671

Open
CCnut opened this issue Mar 25, 2024 · 3 comments
Open

Add a variable to set opengl.dll filename on WGL #1671

CCnut opened this issue Mar 25, 2024 · 3 comments
Labels

Comments

@CCnut
Copy link

CCnut commented Mar 25, 2024

Can a variable be added to set filename? Like QT_OPENGL_DLL.

OsStr::new("opengl32.dll").encode_wide().chain(Some(0).into_iter()).collect::<Vec<_>>();

@kchibisov
Copy link
Member

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.

@kchibisov kchibisov added the WGL label Mar 25, 2024
@kchibisov
Copy link
Member

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.

@CCnut
Copy link
Author

CCnut commented Mar 26, 2024

I want opengl32.dll and opengl32sw.dll to coexist and be switchable to opengl32sw.dll when needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants