Skip to content

Conversation

@whrvt
Copy link
Contributor

@whrvt whrvt commented Jul 5, 2025

If gl_init_funcs(false) was called before gl_init_funcs(true), glx would never be initialized, so glx_f.valid && x11_f.valid would always return false for GLX functions.

This was breaking newer Wine versions, since it unconditionally loads both EGL (first) and then GLX.

Fixes: #249

If gl_init_funcs(false) was called before gl_init_funcs(true), glx would never be initialized, so glx_f.valid && x11_f.valid would always return false for GLX functions.
This was breaking newer Wine versions, since it unconditionally loads both EGL (first) and then GLX.
@nowrep
Copy link
Owner

nowrep commented Jul 5, 2025

Thanks

@nowrep nowrep merged commit 2a2d2d2 into nowrep:master Jul 5, 2025
1 check passed
@whrvt whrvt deleted the egl-glx-fix branch July 5, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

forces osu! to run using dxvk

2 participants