VirtualBox

Changeset 106932 in vbox


Ignore:
Timestamp:
Nov 11, 2024 4:09:35 PM (5 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165858
Message:

3D: Do not init 3D backend if VMSVGA2dGBO extradata is set. bugref:10580

File:
1 edited

Legend:

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

    r106926 r106932  
    19681968    PVMSVGAR3STATE pSvgaR3State = pThisCC->svga.pSvgaR3State;
    19691969
    1970     /* 3D interface is required. */
    1971     AssertReturn(pSvgaR3State->pFuncs3D && pSvgaR3State->pFuncs3D->pfnInit, VERR_NOT_SUPPORTED);
     1970    if (!pThis->svga.fVMSVGA2dGBO)
     1971    {
     1972        /* 3D interface is required. */
     1973        AssertReturn(pSvgaR3State->pFuncs3D && pSvgaR3State->pFuncs3D->pfnInit, VERR_NOT_SUPPORTED);
     1974    }
    19721975
    19731976    PVMSVGA3DSTATE p3dState = (PVMSVGA3DSTATE)RTMemAllocZ(sizeof(VMSVGA3DSTATE));
     
    19751978    pThisCC->svga.p3dState = p3dState;
    19761979
     1980    if (pThis->svga.fVMSVGA2dGBO)
     1981        return VINF_SUCCESS;
     1982
    19771983    int rc = pSvgaR3State->pFuncs3D->pfnInit(pDevIns, pThis, pThisCC);
    19781984    if (RT_SUCCESS(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette