Changeset 33684 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display
- Timestamp:
- Nov 2, 2010 12:17:19 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67308
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxCrHgsmi.cpp
r33530 r33684 122 122 hClient = g_VBoxCrHgsmiCallbacks.pfnClientCreate(&pHgsmiGL->BasePrivate.Base); 123 123 Assert(hClient); 124 pHgsmiGL->BasePrivate.hClient = hClient; 125 gt_pHgsmiGL = pHgsmiGL; 126 } 127 } 128 else 129 hClient = NULL; 130 return hClient; 124 if (hClient) 125 { 126 pHgsmiGL->BasePrivate.hClient = hClient; 127 gt_pHgsmiGL = pHgsmiGL; 128 return hClient; 129 } 130 vboxUhgsmiKmtDestroy(pHgsmiGL); 131 } 132 RTMemFree(pHgsmiGL); 133 } 134 135 return NULL; 131 136 } 132 137 -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r33676 r33684 1883 1883 else if (pSwapchain->iBB == iRt) 1884 1884 { 1885 Assert(0);1886 1885 pSwapchain->iBB = 0; 1887 1886 } … … 1997 1996 if (!pSwapchain) 1998 1997 { 1999 #ifdef DEBUG_misha2000 Assert(0);2001 #endif2002 1998 /* first search for the swapchain the alloc might be added to */ 2003 1999 PVBOXWDDMDISP_SWAPCHAIN pCur = RTListNodeGetFirst(&pDevice->SwapchainList, VBOXWDDMDISP_SWAPCHAIN, ListEntry); … … 5391 5387 // Assert(pScreen->hWnd); 5392 5388 // Assert(pScreen->pDevice9If); 5389 hr = E_FAIL; 5393 5390 Assert(0); 5394 5391 } … … 6722 6719 { 6723 6720 case D3DDDIQUERYTYPE_EVENT: 6724 Assert(0);6725 6721 pQuery->data.bData = TRUE; 6726 6722 Assert(pData->pData); … … 8180 8176 case 0x40010006: /* <- OutputDebugString exception, ignore */ 8181 8177 case 0xe06d7363: /* <- ms compiler - generated exception related to C++ exception */ 8178 case 0x000006d9: /* <- RPC exception, ignore */ 8182 8179 break; 8183 8180 default: -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxUhgsmiKmt.cpp
r33530 r33684 170 170 return VINF_SUCCESS; 171 171 } 172 else 173 { 174 rc = VERR_OUT_OF_RESOURCES; 175 } 172 176 173 177 RTMemFree(pBuf); … … 325 329 326 330 return VINF_SUCCESS; 331 } 332 else 333 { 334 rc = VERR_OUT_OF_RESOURCES; 327 335 } 328 336
Note:
See TracChangeset
for help on using the changeset viewer.