VirtualBox

Ignore:
Timestamp:
Dec 13, 2023 5:43:40 PM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160742
Message:

WDDM: removed wrong SetError

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dx/VBoxDX.h

    r102408 r102591  
    818818DECLINLINE(void) vboxDXDeviceSetError(PVBOXDX_DEVICE pDevice, HRESULT hr)
    819819{
    820     Assert(SUCCEEDED(hr) || hr == DXGI_DDI_ERR_WASSTILLDRAWING);
    821     /* This callback is also used for setting S_OK, etc results, so always call it. */
     820    Assert(hr == DXGI_DDI_ERR_WASSTILLDRAWING);
    822821    pDevice->pUMCallbacks->pfnSetErrorCb(pDevice->hRTCoreLayer, hr);
    823822}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette