VirtualBox

Ignore:
Timestamp:
Dec 10, 2017 10:10:01 PM (7 years ago)
Author:
vboxsync
Message:

WDDM: more minor changes to make the code more generic

File:
1 edited

Legend:

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

    r70051 r70052  
    5656    }
    5757
    58     return vboxD3DIfCreateSharedPrimary(pAlloc);
     58    Assert(pAlloc->pRc->pDevice->pfnCreateSharedPrimary);
     59    return pAlloc->pRc->pDevice->pfnCreateSharedPrimary(pAlloc);
    5960}
    6061
     
    130131#endif
    131132
     133    Assert(pDevice->pfnCreateDirect3DDevice);
    132134    HRESULT hr = pDevice->pfnCreateDirect3DDevice(pDevice);
    133135    Assert(hr == S_OK); NOREF(hr);
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