wined3d: Match device name string to windows one.

This commit is contained in:
Louis Lenders 2009-05-22 22:14:58 +00:00 committed by Alexandre Julliard
parent c1fa150ceb
commit f55522ab6b
1 changed files with 1 additions and 1 deletions

View File

@ -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;