Changeset 79770 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Jul 14, 2019 5:23:32 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/GaDdi.cpp
r77125 r79770 1893 1893 if (bSetHostID) 1894 1894 { 1895 IDirect3DSurface9 *pSurfIf = NULL; 1896 hr = VBoxD3DIfSurfGet(pRc, i, &pSurfIf); 1897 if (SUCCEEDED(hr)) 1895 if (pGaD3DDevice9Ex) 1898 1896 { 1899 Assert(pGaD3DDevice9Ex);1900 1897 hr = pGaD3DDevice9Ex->GaSurfaceId(pAllocation->pD3DIf, &pWddmAllocInfo->hostID); 1901 if (SUCCEEDED(hr))1902 {1903 Assert(pWddmAllocInfo->hostID);1904 }1905 else1906 {1907 WARN(("pfnVBoxWineExD3DSurf9GetHostId failed, hr 0x%x", hr));1908 break;1909 }1910 pSurfIf->Release();1911 1898 } 1912 1899 else 1913 1900 { 1914 WARN(("VBoxD3DIfSurfGet failed, hr 0x%x", hr)); 1901 AssertFailed(); 1902 hr = E_FAIL; 1903 } 1904 1905 if (SUCCEEDED(hr)) 1906 { 1907 Assert(pWddmAllocInfo->hostID); 1908 } 1909 else 1910 { 1911 WARN(("pGaD3DDevice9Ex->GaSurfaceId failed, hr 0x%x", hr)); 1915 1912 break; 1916 1913 }
Note:
See TracChangeset
for help on using the changeset viewer.