Commit a2a07e80 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

d3d11_fmt: log the diver version even when the feature level is wrong

(cherry picked from commit 5ca1c04bb5a35dd73a321fcfca7bdb639327012b)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 16d691fa
......@@ -277,6 +277,7 @@ HRESULT D3D11_CreateDevice(vlc_object_t *obj, d3d11_handle_t *hd3d,
msg_Dbg(obj, "Created the D3D11 device 0x%p ctx 0x%p type %d level %x.",
(void *)out->d3ddevice, (void *)out->d3dcontext,
driverAttempts[driver], i_feature_level);
D3D11_GetDriverVersion( obj, out );
/* we can work with legacy levels but only if forced */
if ( obj->obj.force || i_feature_level >= D3D_FEATURE_LEVEL_11_0 )
......@@ -291,10 +292,7 @@ HRESULT D3D11_CreateDevice(vlc_object_t *obj, d3d11_handle_t *hd3d,
if (SUCCEEDED(hr))
out->owner = true;
D3D11_GetDriverVersion(obj, out);
return hr;
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