d3d11va: Link directly to dxgi.dll and d3d11.dll functions if LoadLibrary is unavailable
authorMartin Storsjö <martin@martin.st>
Fri, 9 Jun 2017 09:05:00 +0000 (12:05 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 18 Jun 2017 20:45:03 +0000 (23:45 +0300)
commitfd1ffa1f10e940165035ccb79d4a6523da196062
tree25c91a5cdec7b4050e7865650f129ae751489cd0
parentc2b0bea40f1fd4399ff6184a2df4f397c0f4b3ab
d3d11va: Link directly to dxgi.dll and d3d11.dll functions if LoadLibrary is unavailable

When targeting the UWP API subset, the LoadLibrary function is not
available (and the fallback, LoadPackagedLibrary, can't be used to
load system DLLs). In these cases, link directly to the functions
in the DLLs instead of trying to load them dynamically at runtime.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure
libavutil/hwcontext_d3d11va.c