VirtualBox

Ignore:
Timestamp:
Dec 17, 2018 6:20:07 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127547
Message:

DevVGA-SVGA3d: dynamic loading of OpenGL: call XInitThreads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-glLdr.cpp

    r76269 r76270  
    188188    pfn_wglShareLists = 0;
    189189#elif defined(RT_OS_LINUX)
    190     pfn_glXQueryVersion = 0;
    191     pfn_glXChooseVisual = 0;
    192     pfn_glXCreateContext = 0;
    193     pfn_glXMakeCurrent = 0;
    194     pfn_glXDestroyContext = 0;
    195190    pfn_XConfigureWindow = 0;
    196191    pfn_XCloseDisplay = 0;
     
    199194    pfn_XDefaultRootWindow = 0;
    200195    pfn_XDestroyWindow = 0;
     196    pfn_XInitThreads = 0;
    201197    pfn_XNextEvent = 0;
    202198    pfn_XOpenDisplay = 0;
    203199    pfn_XPending = 0;
     200    pfn_glXQueryVersion = 0;
     201    pfn_glXChooseVisual = 0;
     202    pfn_glXCreateContext = 0;
     203    pfn_glXMakeCurrent = 0;
     204    pfn_glXDestroyContext = 0;
    204205#endif
    205206    pfn_glAlphaFunc = 0;
     
    283284    X11GETPROC_(XDefaultRootWindow);
    284285    X11GETPROC_(XDestroyWindow);
     286    X11GETPROC_(XInitThreads);
    285287    X11GETPROC_(XNextEvent);
    286288    X11GETPROC_(XOpenDisplay);
     
    355357    GLGETPROC_(glVertexPointer, "");
    356358    GLGETPROC_(glViewport, "");
     359
     360#ifdef RT_OS_LINUX
     361    XInitThreads();
     362#endif
    357363    return VINF_SUCCESS;
    358364}
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