Skip to content

GLStateEGL: Also try loading libOpenGL.so as OpenGL library on non-win32#255

Open
ziyao233 wants to merge 1 commit intoglmark2:masterfrom
ziyao233:glstateegl/load-libopengl
Open

GLStateEGL: Also try loading libOpenGL.so as OpenGL library on non-win32#255
ziyao233 wants to merge 1 commit intoglmark2:masterfrom
ziyao233:glstateegl/load-libopengl

Conversation

@ziyao233
Copy link

Currently when creating context through EGL on non-win32 systems, we try to load OpenGL from libGL.so and libGL.so.1. However, these libraries are expected to contain GLX symbols and cannot be built on systems without X11.

Let's try also loading OpenGL from libOpenGL.so, which contains core OpenGL symbols only and is present on Wayland-only systems.

Currently when creating context through EGL on non-win32 systems, we try
to load OpenGL from libGL.so and libGL.so.1. However, these libraries
are expected to contain GLX symbols and cannot be built on systems
without X11.

Let's try also loading OpenGL from libOpenGL.so, which contains core
OpenGL symbols only and is present on Wayland-only systems.

Signed-off-by: Yao Zi <ziyao@disroot.org>
@ziyao233
Copy link
Author

@afrantzis Hi, could you please take a look at this pull request? Thanks!

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