mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
12840a8324
The Linux OpenGL ABI does not guarantee that glXSwapIntervalEXT will be exported statically from any library, and indeed on some systems this function does not link at load time, e.g. with amdgpu-pro. All other GLX functions that we use are from GLX 1.0, which is guaranteed to be exported statically. This commit solves this issue by using glXGetProcAddressARB to load the function. Note that only the ARB version of glXGetProcAddress is guaranteed to exist by the Linux OpenGL ABI, which is why we must use it. |
||
---|---|---|
.. | ||
Wayland | ||
X11 | ||
CMakeLists.txt |