EGL: Add support for loading glvnd libOpenGL

(cherry picked from commit 55aad3c37b)
This commit is contained in:
Camilla Löwy 2022-07-27 15:03:16 +02:00
parent 426c6ed6b1
commit ed55529ce8
2 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,7 @@ information on what to include when reporting a bug.
- [Wayland] Bugfix: Connecting a mouse after `glfwInit` would segfault (#1450) - [Wayland] Bugfix: Connecting a mouse after `glfwInit` would segfault (#1450)
- [Linux] Bugfix: Joysticks without buttons were ignored (#2042,#2043) - [Linux] Bugfix: Joysticks without buttons were ignored (#2042,#2043)
[EGL] Added loading of glvnd `libOpenGL.so.0` where available for OpenGL
## Contact ## Contact

View File

@ -678,6 +678,7 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window,
#elif defined(__OpenBSD__) || defined(__NetBSD__) #elif defined(__OpenBSD__) || defined(__NetBSD__)
"libGL.so", "libGL.so",
#else #else
"libOpenGL.so.0",
"libGL.so.1", "libGL.so.1",
#endif #endif
NULL NULL