Changeset 95782 in vbox
- Timestamp:
- Jul 21, 2022 7:27:58 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win-dx.cpp
r95739 r95782 917 917 &pDXDevice->FeatureLevel, 918 918 &pImmediateContext); 919 #ifdef DEBUG 920 if (FAILED(hr)) 921 { 922 /* Device creation may fail because _DEBUG flag requires "D3D11 SDK Layers for Windows 10" ("Graphics Tools"): 923 * Settings/System/Apps/Optional features/Add a feature/Graphics Tools 924 * Retry without the flag. 925 */ 926 Flags &= ~D3D11_CREATE_DEVICE_DEBUG; 927 hr = pBackend->pfnD3D11CreateDevice(pAdapter, 928 D3D_DRIVER_TYPE_HARDWARE, 929 NULL, 930 Flags, 931 s_aFeatureLevels, 932 RT_ELEMENTS(s_aFeatureLevels), 933 D3D11_SDK_VERSION, 934 &pDevice, 935 &pDXDevice->FeatureLevel, 936 &pImmediateContext); 937 } 938 #endif 939 919 940 if (SUCCEEDED(hr)) 920 941 {
Note:
See TracChangeset
for help on using the changeset viewer.