Commit ce26fcc1 authored by Martin Finkel's avatar Martin Finkel Committed by Steve Lhomme

winstore: fix build

Signed-off-by: Martin Finkel's avatarMartin Finkel <martin@videolabs.io>
parent b648c469
......@@ -165,10 +165,11 @@ static HKEY GetAdapterRegistry(DXGI_ADAPTER_DESC *adapterDesc)
#undef D3D11_GetDriverVersion
void D3D11_GetDriverVersion(vlc_object_t *obj, d3d11_device_t *d3d_dev)
{
memset(&d3d_dev->WDDM, 0, sizeof(d3d_dev->WDDM));
#if VLC_WINSTORE_APP
return;
#else
memset(&d3d_dev->WDDM, 0, sizeof(d3d_dev->WDDM));
IDXGIAdapter *pAdapter = D3D11DeviceAdapter(d3d_dev->d3ddevice);
if (!pAdapter)
return;
......
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