Changeset 107546 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jan 8, 2025 6:06:54 PM (4 months ago)
- svn:sync-xref-src-repo-rev:
- 166616
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r107545 r107546 639 639 /* Validation prerequisites: */ 640 640 #ifdef VBOX_WITH_3D_ACCELERATION 641 /* Check whether WDDM mode supported by the guest OS type: */ 642 m_f3DAccelerationSupported = UIGuestOSTypeHelpers::isWddmCompatibleOsType(m_strGuestOSTypeId); 641 /* Special handling for Windows guests, 3D is available for VBoxSVGA only: */ 642 if (m_strGuestOSTypeId.startsWith("Windows")) 643 m_f3DAccelerationSupported = graphicsControllerTypeCurrent() == KGraphicsControllerType_VBoxSVGA 644 ? UIGuestOSTypeHelpers::isWddmCompatibleOsType(m_strGuestOSTypeId) 645 : false; 646 /* For the rest of guest OS types 3D is available for VMSVGA only: */ 647 else 648 m_f3DAccelerationSupported = graphicsControllerTypeCurrent() == KGraphicsControllerType_VMSVGA; 643 649 644 650 /* Additionally make sure 3D acceleration is one of the features for current graphical controller: */
Note:
See TracChangeset
for help on using the changeset viewer.