Skip to content

Conversation

@lb90
Copy link
Contributor

@lb90 lb90 commented Nov 11, 2024

  • Avoid loading libEGL.DLL on Windows in cartain cases
  • Avoid calling eglQueryContext with EGL_NO_DISPLAY

lb90 added 2 commits November 11, 2024 15:35
Avoid loading EGL when not needed when resolving functions common
to GL/EGL and a WGL context is current.

There's already a similar check for GLX, we add one for WGL too.
According to the reference documentation that could lead
to undefined behavior.

Reference:

  https://registry.khronos.org/EGL/sdk/docs/man/html/eglGetCurrentDisplay.xhtml
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.

1 participant