Commit ecedb2e7 authored by Steve Lhomme's avatar Steve Lhomme

direct3d11: get the feature level from the external D3D11 device on winstore builds

parent cdf276c3
......@@ -471,6 +471,7 @@ static int OpenCoreW(vout_display_t *vd)
sys->dxgiswapChain = dxgiswapChain;
sys->d3d_dev.d3ddevice = d3ddevice;
sys->d3d_dev.d3dcontext = d3dcontext;
sys->d3d_dev.feature_level = ID3D11Device_GetFeatureLevel(sys->d3d_dev.d3ddevice );
IDXGISwapChain_AddRef (sys->dxgiswapChain);
ID3D11Device_AddRef (sys->d3d_dev.d3ddevice);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment