VirtualBox

Changeset 37349 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 7, 2011 1:33:19 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: 4574: VM Settings / Display page: Allowing to set up to 256MB of VRAM for WDDM guests with 3D function enabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r37168 r37349  
    474474    }
    475475#endif /* VBOX_WITH_VIDEOHWACCEL */
    476 #if 0
    477 # ifdef VBOX_WITH_CRHGSMI
     476#ifdef VBOX_WITH_CRHGSMI
    478477    if (mCb3D->isChecked() && m_fWddmModeSupported)
    479478    {
     479# if 0
    480480        uNeedMBytes += VBoxGlobal::required3DWddmOffscreenVideoMemory(m_guestOSType.GetId(), cMonitorsCount) / _1M;
    481481        uNeedMBytes = RT_MAX(uNeedMBytes, 128);
    482482        uNeedMBytes = RT_MIN(uNeedMBytes, 256);
     483# endif
    483484        m_maxVRAMVisible = 256;
    484485    }
    485 # endif /* VBOX_WITH_CRHGSMI */
    486 #endif /* 0 */
     486#endif /* VBOX_WITH_CRHGSMI */
    487487
    488488    mSlMemory->setWarningHint(1, uNeedMBytes);
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