VirtualBox

Changeset 75630 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Nov 20, 2018 7:10:04 PM (6 years ago)
Author:
vboxsync
Message:

WDDM: Gallium Display Driver: code cleanup

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/GaDrvEnvWddm.cpp

    r75443 r75630  
    237237}
    238238
    239 /* static */ DECLCALLBACK(int)
     239/* static */ DECLCALLBACK(void)
    240240GaDrvEnvWddm::gaEnvWddmSurfaceDestroy(void *pvEnv,
    241241                                      uint32_t u32Sid)
     
    260260
    261261    hr = pThis->mWddmCallbacks.DeviceCallbacks.pfnEscapeCb(pThis->mWddmCallbacks.hAdapter, &ddiEscape);
    262     return SUCCEEDED(hr)? 0: -1;
     262    Assert(SUCCEEDED(hr));
    263263}
    264264
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/GaDrvEnvWddm.h

    r75443 r75630  
    7070                                                        uint32_t cSizes,
    7171                                                        uint32_t *pu32Sid);
    72         static DECLCALLBACK(int) gaEnvWddmSurfaceDestroy(void *pvEnv,
    73                                                          uint32_t u32Sid);
     72        static DECLCALLBACK(void) gaEnvWddmSurfaceDestroy(void *pvEnv,
     73                                                          uint32_t u32Sid);
    7474        static DECLCALLBACK(int) gaEnvWddmRender(void *pvEnv,
    7575                                                 uint32_t u32Cid,
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