VirtualBox

Changeset 50413 in vbox


Ignore:
Timestamp:
Feb 11, 2014 12:45:12 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL/Main: fix assertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r50405 r50413  
    729729        return VINF_SUCCESS;
    730730
     731    if (!mhCrOglSvc)
     732    {
     733        /* no 3D */
     734#ifdef DEBUG
     735        BOOL is3denabled;
     736        mParent->machine()->COMGETTER(Accelerate3DEnabled)(&is3denabled);
     737        Assert(!is3denabled);
     738#endif
     739        return VERR_INVALID_STATE;
     740    }
     741
    731742    VMMDev *pVMMDev = mParent->getVMMDev();
    732743    if (!pVMMDev)
    733744    {
    734745        AssertMsgFailed(("no vmmdev\n"));
    735         return VERR_INVALID_STATE;
    736     }
    737 
    738     if (!mhCrOglSvc)
    739     {
    740         AssertMsgFailed(("no mhCrOglSvc\n"));
    741746        return VERR_INVALID_STATE;
    742747    }
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