VirtualBox

Changeset 95293 in vbox


Ignore:
Timestamp:
Jun 15, 2022 4:32:00 PM (2 years ago)
Author:
vboxsync
Message:

WDDM: disable 3D if VGPU10 is not enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r95290 r95293  
    52845284                enmHwType = VBOXVIDEO_HWTYPE_VMSVGA;
    52855285            }
    5286             LOGREL(("WDDM: VGA configuration: 3D %d, hardware type %d", f3DSupported, enmHwType));
     5286
     5287            BOOL fVGPU10 = FALSE;
     5288            VBoxVGACfgQuery(VBE_DISPI_CFG_ID_VMSVGA_DX, &u32, 0);
     5289            if (u32)
     5290            {
     5291                fVGPU10 = TRUE;
     5292            }
     5293            LOGREL(("WDDM: VGA configuration: 3D %d, hardware type %d, VGPU10 %d", f3DSupported, enmHwType, fVGPU10));
     5294            if (!fVGPU10)
     5295                f3DSupported = FALSE;
    52875296        }
    52885297
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