Skip to content
Snippets Groups Projects
Commit ce6fb666 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

D3D: debug device information

This is necessary to track the issues we have on XP with some GPU.
parent c8864a0b
No related branches found
No related tags found
No related merge requests found
......@@ -614,6 +614,15 @@ static int Direct3DOpen(vout_display_t *vd, video_format_t *fmt)
}
#endif
/* */
D3DADAPTER_IDENTIFIER9 d3dai;
if (FAILED(IDirect3D9_GetAdapterIdentifier(d3dobj,AdapterToUse,0, &d3dai))) {
msg_Warn(vd, "IDirect3D9_GetAdapterIdentifier failed");
} else {
msg_Dbg(vd, "Direct3d Device: %s %lu %lu %lu", d3dai.Description,
d3dai.VendorId, d3dai.DeviceId, d3dai.Revision );
}
HRESULT hr = IDirect3D9_CreateDevice(d3dobj, AdapterToUse,
DeviceType, sys->hvideownd,
D3DCREATE_SOFTWARE_VERTEXPROCESSING|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment