VirtualBox

Changeset 58575 in vbox


Ignore:
Timestamp:
Nov 5, 2015 7:21:26 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103927
Message:

bugref:8087: Additions/x11: support non-root X server: when our OpenGL library is loaded directly on Linux, rather than by hijacking the DRI interface, the constructor needs to be called. For whatever reason it was disabled up until now.

File:
1 edited

Legend:

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

    r57426 r58575  
    11071107 */
    11081108bool
     1109#if defined(LINUX) || !defined(VBOXOGL_FAKEDRI)
     1110__attribute__ ((constructor))
     1111#endif
    11091112stubInit(void)
    11101113{
     
    11241127
    11251128#ifdef LINUX
     1129/** @todo remove this, but only once we are sure it is not needed. */
    11261130/* GCC crap
    11271131 *void (*stub_init_ptr)(void) __attribute__((section(".ctors"))) = __stubInit; */
Note: See TracChangeset for help on using the changeset viewer.

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