Commit 22559ca3 authored by Martin Finkel's avatar Martin Finkel Committed by Hugo Beauzée-Luyssen

winstore: fix build

Signed-off-by: Martin Finkel's avatarMartin Finkel <martin@videolabs.io>
(cherry picked from commit ce26fcc1)
Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 2e19bb27
......@@ -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