Changeset 39533 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Dec 5, 2011 3:41:01 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.cpp
r39528 r39533 415 415 { 416 416 /* ensure we do not overflow the 32bit buffer size value */ 417 if (VBOXWDDM_ARRAY_MAXELEMENTSU32( PVBOXWDDM_ALLOCATION) < pSwapchainInfo->SwapchainInfo.cAllocs)418 { 419 WARN(("number of allocations passed in too big (%d), max is (%d)", pSwapchainInfo->SwapchainInfo.cAllocs, VBOXWDDM_ARRAY_MAXELEMENTSU32( PVBOXWDDM_ALLOCATION)));417 if (VBOXWDDM_ARRAY_MAXELEMENTSU32(VBOXWDDM_ALLOCATION) < pSwapchainInfo->SwapchainInfo.cAllocs) 418 { 419 WARN(("number of allocations passed in too big (%d), max is (%d)", pSwapchainInfo->SwapchainInfo.cAllocs, VBOXWDDM_ARRAY_MAXELEMENTSU32(VBOXWDDM_ALLOCATION))); 420 420 Status = STATUS_INVALID_PARAMETER; 421 421 break;
Note:
See TracChangeset
for help on using the changeset viewer.