[Bug 28152] Heroes 6 Demo fails to find video card

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 22 05:04:35 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28152

Louis Lenders <xerox_xerox2000 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://download.direct2driv
                   |                            |e.com/ftp1/082011/MM6_Demo.
                   |                            |zip?clientid=31785123
                 CC|                            |xerox_xerox2000 at yahoo.co.uk
          Component|-unknown                    |directx-d3d
     Ever Confirmed|0                           |1

--- Comment #2 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk> 2011-08-22 05:04:33 CDT ---
confirming ans added download link. The hack below makes the game start for me.

Ivan, could you try if the hack works for you too? thx

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index afc77df..7d85473 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -3980,7 +3980,7 @@ HRESULT CDECL wined3d_check_device_format(const struct
win
                 if (!CheckVertexTextureCapability(adapter, format))
                 {
                     TRACE_(d3d_caps)("[FAILED] - No query vertextexture
support
-                    return WINED3DERR_NOTAVAILABLE;
+                    return 0;//WINED3DERR_NOTAVAILABLE;
                 }
                 usage_caps |= WINED3DUSAGE_QUERY_VERTEXTEXTURE;
             }

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list