diff options
author | wm4 <wm4@nowhere> | 2017-06-30 12:46:12 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-30 18:57:37 +0200 |
commit | f003d8ea367f247e3ff49b672003817a0c3cdb30 (patch) | |
tree | ff198c9ec228a30d226edadfd741956a9a24af70 /video/decode/d3d.h | |
parent | dd408e68ed57fa5130bef976751e58a5d6e42f75 (diff) | |
download | mpv-f003d8ea367f247e3ff49b672003817a0c3cdb30.tar.bz2 mpv-f003d8ea367f247e3ff49b672003817a0c3cdb30.tar.xz |
d3d: UWP support for D3D11VA
For some braindead reason, Microsoft decided to prevent you from
dynamically loading system libraries. This makes portability harder.
And we're talking about portability between Microsoft OSes!
Diffstat (limited to 'video/decode/d3d.h')
-rw-r--r-- | video/decode/d3d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/d3d.h b/video/decode/d3d.h index 334f12151e..8ae244c585 100644 --- a/video/decode/d3d.h +++ b/video/decode/d3d.h @@ -42,6 +42,7 @@ struct d3d_decoder_fmt { // Must call d3d_load_dlls() before accessing. Once this is done, the DLLs // remain loaded forever. extern HMODULE d3d11_dll, d3d9_dll, dxva2_dll; +extern PFN_D3D11_CREATE_DEVICE d3d11_D3D11CreateDevice; void d3d_load_dlls(void); |