wined3d: Match device name string to windows one.
This commit is contained in:
parent
c1fa150ceb
commit
f55522ab6b
|
@ -1737,7 +1737,7 @@ static HRESULT WINAPI IWineD3DImpl_GetAdapterIdentifier(IWineD3D *iface, UINT Ad
|
||||||
strcpy(pIdentifier->Description, This->adapters[Adapter].description);
|
strcpy(pIdentifier->Description, This->adapters[Adapter].description);
|
||||||
|
|
||||||
/* Note dx8 doesn't supply a DeviceName */
|
/* 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.HighPart = This->adapters[Adapter].gl_info.driver_version_hipart;
|
||||||
pIdentifier->DriverVersion->u.LowPart = This->adapters[Adapter].gl_info.driver_version;
|
pIdentifier->DriverVersion->u.LowPart = This->adapters[Adapter].gl_info.driver_version;
|
||||||
*(pIdentifier->VendorId) = This->adapters[Adapter].gl_info.gl_vendor;
|
*(pIdentifier->VendorId) = This->adapters[Adapter].gl_info.gl_vendor;
|
||||||
|
|
Loading…
Reference in New Issue