• Martin Storsjö's avatar
    d3d11va: Check WINAPI_FAMILY instead of HAVE_LOADLIBRARY · 9042402e
    Martin Storsjö authored
    If using the winstore compat library, a fallback LoadLibrary
    function does exist, that only calls LoadPackagedLibrary though
    (which doesn't work for dynamically loading d3d11 DLLs).
    
    Therefore explicitly check the targeted API family instead.
    
    Make this check a reusable HAVE_* component which other parts
    of the libraries can check when necessary as well.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    
    Merged from Libav commit 4d330da0.
    9042402e
hwcontext_d3d11va.c 18.3 KB