VirtualBox

Ignore:
Timestamp:
Sep 10, 2014 8:40:37 AM (10 years ago)
Author:
vboxsync
Message:

DisplayImpl,VMMDev: cleaned up reenabling of the legacy video acceleration when VM is restored from saved state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r51599 r52667  
    34443444    }
    34453445
    3446     /* Reestablish the acceleration status. */
    3447     if (    pThis->u32VideoAccelEnabled
    3448         &&  pThis->pDrv)
    3449     {
    3450         pThis->pDrv->pfnVideoAccelEnable(pThis->pDrv, !!pThis->u32VideoAccelEnabled, &pThis->pVMMDevRAMR3->vbvaMemory);
    3451     }
    3452 
    34533446    if (pThis->fu32AdditionsOk)
    34543447    {
     
    34973490    AssertLogRelRCReturn(rc, rc);
    34983491#endif /* VBOX_WITH_HGCM */
     3492
     3493    /* Reestablish the acceleration status. */
     3494    if (    pThis->u32VideoAccelEnabled
     3495        &&  pThis->pDrv)
     3496    {
     3497        pThis->pDrv->pfnVideoAccelEnable(pThis->pDrv, !!pThis->u32VideoAccelEnabled, &pThis->pVMMDevRAMR3->vbvaMemory);
     3498    }
    34993499
    35003500    VMMDevNotifyGuest(pThis, VMMDEV_EVENT_RESTORED);
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