mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27: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. |
||
---|---|---|
.. | ||
atoms.c | ||
atoms.h | ||
clipboard.c | ||
clipboard.h | ||
CMakeLists.txt | ||
x11.c | ||
x11.h |