VirtualBox

Changeset 84754 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Jun 10, 2020 12:09:27 PM (4 years ago)
Author:
vboxsync
Message:

Devices/Graphics: fixed regression after r138536 (crash on startup with 3D disabled)

File:
1 edited

Legend:

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

    r84750 r84754  
    36583658    int             rc;
    36593659
    3660 #if 0 /** @todo r=aeichner Crashes on the testboxes and locally due to a NULL pointer dereference, glLdrInit() probably not called.
    3661        * Is this really necessary as glLdrInit() will call XInitThreads() itself. */
    3662 # ifdef RT_OS_LINUX
    3663     XInitThreads();
     3660# if defined(VBOX_WITH_VMSVGA3D) && defined(RT_OS_LINUX)
     3661    if (pThis->svga.f3DEnabled)
     3662    {
     3663        /* The FIFO thread may use X API for accelerated screen output. */
     3664        XInitThreads();
     3665    }
    36643666# endif
    3665 #endif
    36663667
    36673668    if (pThread->enmState == PDMTHREADSTATE_INITIALIZING)
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