Changeset 32699 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Sep 22, 2010 3:07:44 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r32697 r32699 1824 1824 IDirect3DSurface9 *pD3D9Surf; 1825 1825 UINT iRt = vboxWddmSwapchainIdxBb2Rt(pSwapchain, iBb); 1826 Assert(iRt < pSwapchain->cRTs); 1826 1827 PVBOXWDDMDISP_RENDERTGT pRt = &pSwapchain->aRTs[iRt]; 1827 1828 HRESULT hr = pSwapchain->pSwapChainIf->GetBackBuffer(iBb, D3DBACKBUFFER_TYPE_MONO, &pD3D9Surf); … … 1839 1840 if (pD3D9OldSurf && pD3D9OldSurf != pD3D9Surf) 1840 1841 { 1841 Assert(0); 1842 hr = pDevice->pDevice9If->StretchRect(pD3D9OldSurf, NULL, pD3D9Surf, NULL, D3DTEXF_NONE); 1843 Assert(hr == S_OK); 1842 VOID *pvSwapchain = NULL; 1843 HRESULT tmpHr = pD3D9OldSurf->GetContainer(IID_IDirect3DSwapChain9, &pvSwapchain); 1844 if (tmpHr == S_OK) 1845 { 1846 Assert(pvSwapchain); 1847 ((IDirect3DSwapChain9 *)pvSwapchain)->Release(); 1848 } 1849 else 1850 { 1851 Assert(!pvSwapchain); 1852 } 1853 if (pvSwapchain != pSwapchain->pSwapChainIf) 1854 { 1855 Assert(0); 1856 hr = pDevice->pDevice9If->StretchRect(pD3D9OldSurf, NULL, pD3D9Surf, NULL, D3DTEXF_NONE); 1857 Assert(hr == S_OK); 1858 } 1844 1859 } 1845 1860 } … … 4780 4795 } 4781 4796 Assert(pAllocation->D3DWidth >= pSurf->Width); 4782 #ifdef DEBUG_misha4783 /* break to test */4784 Assert(pAllocation->D3DWidth == pSurf->Width);4785 #endif4786 4797 } 4787 4798 } -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVidPn.cpp
r30926 r32699 1472 1472 SIZE_T cTgtPaths; 1473 1473 NTSTATUS Status = pVidPnTopologyInterface->pfnGetNumPathsFromSource(hVidPnTopology, VidPnSourceId, &cTgtPaths); 1474 Assert(Status == STATUS_SUCCESS );1474 Assert(Status == STATUS_SUCCESS || Status == STATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY); 1475 1475 if (Status == STATUS_SUCCESS) 1476 1476 { … … 1492 1492 } 1493 1493 } 1494 else 1494 else if (Status != STATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY) 1495 1495 drprintf((__FUNCTION__": pfnGetNumPathsFromSource failed Status(0x%x)\n", Status)); 1496 1496 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/context.c
r32651 r32699 1661 1661 struct wined3d_context *context = NULL; 1662 1662 1663 #ifdef DEBUG_misha1664 Assert(0);1665 #endif1666 1667 1663 for(i = 0 ; i < device->numContexts ; i ++) 1668 1664 {
Note:
See TracChangeset
for help on using the changeset viewer.