Louis Lenders : wined3d: Match device name string to windows one.

Alexandre Julliard julliard at winehq.org
Mon May 25 10:06:34 CDT 2009


Module: wine
Branch: master
Commit: f55522ab6b55580f4bbf3eda3338e397b40d2512
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f55522ab6b55580f4bbf3eda3338e397b40d2512

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Fri May 22 22:14:58 2009 +0000

wined3d: Match device name string to windows one.

---

 dlls/wined3d/directx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 5ce84cd..6bad91e 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -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;




More information about the wine-cvs mailing list