Commit 8529cee3 authored by Steve Lhomme's avatar Steve Lhomme

d3d11_fmt: assume drivers are bad on Winstore builds

Since we have no wait to get the version we fallback to the worst case.
parent 15660bca
......@@ -361,12 +361,12 @@ int D3D11CheckDriverVersion(d3d11_device_t *d3d_dev, UINT vendorId, const struct
if (FAILED(hr))
return VLC_EGENERIC;
#if VLC_WINSTORE_APP
return VLC_SUCCESS;
#else
if (vendorId && adapterDesc.VendorId != vendorId)
return VLC_SUCCESS;
#if VLC_WINSTORE_APP
return VLC_EGENERIC;
#else
bool newer =
d3d_dev->WDDM.wddm > min_ver->wddm ||
(d3d_dev->WDDM.wddm == min_ver->wddm && (d3d_dev->WDDM.d3d_features > min_ver->d3d_features ||
......
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