VirtualBox

Changeset 95603 in vbox


Ignore:
Timestamp:
Jul 12, 2022 6:49:31 AM (2 years ago)
Author:
vboxsync
Message:

Devices/Graphics: changed device initialization to take saved state into account (fix for Linux host): bugref:9830

File:
1 edited

Legend:

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

    r95591 r95603  
    45104510    int             rc;
    45114511
    4512 # if defined(VBOX_WITH_VMSVGA3D) && defined(RT_OS_LINUX)
    4513     if (pThis->svga.f3DEnabled)
    4514     {
    4515         /* The FIFO thread may use X API for accelerated screen output. */
    4516         XInitThreads();
    4517     }
    4518 # endif
    4519 
    45204512    if (pThread->enmState == PDMTHREADSTATE_INITIALIZING)
    45214513        return VINF_SUCCESS;
     
    69056897# endif
    69066898
     6899# if defined(VBOX_WITH_VMSVGA3D) && defined(RT_OS_LINUX)
     6900    if (pThis->svga.f3DEnabled)
     6901    {
     6902        /* The FIFO thread may use X API for accelerated screen output. */
     6903        /* This must be done after backend initialization by vmsvgaR3Init3dInterfaces,
     6904         * because it dynamically resolves XInitThreads.
     6905         */
     6906        XInitThreads();
     6907    }
     6908# endif
     6909
    69076910    if (!fLoadState)
    69086911    {
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