Changeset 42228 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVidPn.cpp
- Timestamp:
- Jul 19, 2012 12:55:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVidPn.cpp
r42217 r42228 1319 1319 { 1320 1320 Status = pNewVidPnTargetModeSetInterface->pfnAddMode(hNewVidPnTargetModeSet, pNewVidPnTargetModeInfo); 1321 Assert(Status == STATUS_SUCCESS);1322 1321 if (NT_SUCCESS(Status)) 1323 1322 { … … 1326 1325 } 1327 1326 else 1328 {1329 1327 WARN(("pfnAddMode failed, Status 0x%x", Status)); 1330 }1331 1328 } 1332 1329 else 1333 {1334 1330 WARN(("vboxVidPnPopulateTargetModeInfoFromLegacy failed, Status 0x%x", Status)); 1335 }1336 1331 1337 1332 NTSTATUS tmpStatus = pNewVidPnTargetModeSetInterface->pfnReleaseModeInfo(hNewVidPnTargetModeSet, pNewVidPnTargetModeInfo); … … 1451 1446 D3DKMDT_VIDPN_SOURCE_MODE *pNewVidPnSourceModeInfo; 1452 1447 Status = pNewVidPnSourceModeSetInterface->pfnCreateNewModeInfo(hNewVidPnSourceModeSet, &pNewVidPnSourceModeInfo); 1453 Assert(Status == STATUS_SUCCESS);1454 1448 if (NT_SUCCESS(Status)) 1455 1449 { … … 1459 1453 { 1460 1454 Status = pNewVidPnSourceModeSetInterface->pfnAddMode(hNewVidPnSourceModeSet, pNewVidPnSourceModeInfo); 1461 Assert(Status == STATUS_SUCCESS);1462 1455 if (NT_SUCCESS(Status)) 1463 1456 { … … 1465 1458 continue; 1466 1459 } 1460 else 1461 WARN(("pfnAddMode failed, Status 0x%x", Status)); 1467 1462 } 1468 1463 … … 1470 1465 Assert(tmpStatus == STATUS_SUCCESS); 1471 1466 } 1467 else 1468 WARN(("pfnCreateNewModeInfo failed, Status 0x%x", Status)); 1472 1469 /* we're here because of an error */ 1473 1470 Assert(!NT_SUCCESS(Status)); 1474 break; 1471 /* ignore mode addition failure */ 1472 Status = STATUS_SUCCESS; 1473 continue; 1475 1474 } 1476 1475 }
Note:
See TracChangeset
for help on using the changeset viewer.