VirtualBox

Changeset 59181 in vbox for trunk


Ignore:
Timestamp:
Dec 18, 2015 11:40:06 AM (9 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: switch our method of loading our GL library to simply overriding the system one. If our 3D library is loaded by the X server (we check this by seeing if the DISPLAY environment variable is unset; we cannot do anything useful in this case anyway), we load the original system library using deep binding, as the default X server GLX module is tied to the Mesa GL implementation. Build fix: define RTLD_DEEPBIND if it is not defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/load.c

    r59180 r59181  
    11371137 * simple and fail-safe as possible, we use a fixed path to the system GL
    11381138 * library. */
     1139#ifndef RTLD_DEEPBIND
     1140# define RTLD_DEEPBIND 0x8
     1141#endif
     1142
    11391143void __attribute__ ((constructor)) checkServerGLX(void)
    11401144{
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette