Changeset 71514 in vbox for trunk/src/VBox
- Timestamp:
- Mar 26, 2018 2:22:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r71511 r71514 814 814 VBoxVidPnTargetsInit(pDevExt->aTargets, RT_ELEMENTS(pDevExt->aTargets), 0); 815 815 816 BOOLEAN f3DSupported = FALSE; 816 817 uint32_t u32 = 0; 817 818 if (VBoxVGACfgAvailable()) 818 819 { 820 VBoxVGACfgQuery(VBE_DISPI_CFG_ID_3D, &u32, 0); 821 f3DSupported = RT_BOOL(u32); 822 819 823 VBoxVGACfgQuery(VBE_DISPI_CFG_ID_VMSVGA, &u32, 0); 820 824 } 825 821 826 pDevExt->enmHwType = u32 ? VBOX_HWTYPE_VMSVGA : VBOX_HWTYPE_CROGL; 827 828 if (pDevExt->enmHwType == VBOX_HWTYPE_CROGL) 829 { 830 pDevExt->f3DEnabled = VBoxMpCrCtlConIs3DSupported(); 831 } 832 else 833 { 834 pDevExt->f3DEnabled = f3DSupported; 835 } 822 836 } 823 837 … … 1143 1157 { 1144 1158 #ifdef VBOX_WITH_CROGL 1145 pDevExt->f3DEnabled = VBoxMpCrCtlConIs3DSupported();1146 1147 1159 if (pDevExt->f3DEnabled) 1148 1160 {
Note:
See TracChangeset
for help on using the changeset viewer.