Commit f55522ab authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

wined3d: Match device name string to windows one.

parent c1fa150c
......@@ -1737,7 +1737,7 @@ static HRESULT WINAPI IWineD3DImpl_GetAdapterIdentifier(IWineD3D *iface, UINT Ad
strcpy(pIdentifier->Description, This->adapters[Adapter].description);
/* Note dx8 doesn't supply a DeviceName */
if (NULL != pIdentifier->DeviceName) strcpy(pIdentifier->DeviceName, "\\\\.\\DISPLAY"); /* FIXME: May depend on desktop? */
if (NULL != pIdentifier->DeviceName) strcpy(pIdentifier->DeviceName, "\\\\.\\DISPLAY1"); /* FIXME: May depend on desktop? */
pIdentifier->DriverVersion->u.HighPart = This->adapters[Adapter].gl_info.driver_version_hipart;
pIdentifier->DriverVersion->u.LowPart = This->adapters[Adapter].gl_info.driver_version;
*(pIdentifier->VendorId) = This->adapters[Adapter].gl_info.gl_vendor;
......
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