Changeset 99857 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- May 19, 2023 9:05:50 AM (20 months ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dx/VBoxDX.cpp
r99856 r99857 2420 2420 Assert(pResource->uMap == 0); /* Must not be already mapped */ 2421 2421 2422 if ( RT_BOOL(Flags & D3D10_DDI_MAP_FLAG_DONOTWAIT) 2423 && dxIsAllocationInUse(pDevice, vboxDXGetAllocation(pResource))) 2422 if (dxIsAllocationInUse(pDevice, vboxDXGetAllocation(pResource))) 2424 2423 { 2425 2424 vboxDXFlush(pDevice, true); 2426 vboxDXDeviceSetError(pDevice, DXGI_DDI_ERR_WASSTILLDRAWING); 2427 return; 2425 2426 if (RT_BOOL(Flags & D3D10_DDI_MAP_FLAG_DONOTWAIT)) 2427 { 2428 vboxDXDeviceSetError(pDevice, DXGI_DDI_ERR_WASSTILLDRAWING); 2429 return; 2430 } 2428 2431 } 2429 2432 -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dx/VBoxDXCmd.cpp
r98103 r99857 420 420 421 421 vboxDXCommandBufferCommit(pDevice); 422 vboxDXDeviceFlushCommands(pDevice);423 422 return VINF_SUCCESS; 424 423 } … … 440 439 441 440 vboxDXCommandBufferCommit(pDevice); 442 vboxDXDeviceFlushCommands(pDevice);443 441 return VINF_SUCCESS; 444 442 }
Note:
See TracChangeset
for help on using the changeset viewer.