[Bug 18794] New Direct3D code from 20090605 fails with ATI HD4350 using fglrx 8.600 driver (on x86_64)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jun 5 10:16:43 CDT 2009


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





--- Comment #1 from Yann Droneaud <yann at droneaud.fr>  2009-06-05 10:16:40 ---
Created an attachment (id=21568)
 --> (http://bugs.winehq.org/attachment.cgi?id=21568)
WINEDEBUG=+relay,+d3d,+wgl,+driver wine ./d3did3.exe

Attached a debug trace.

Here is the code of the test program, quite simple, indeed.
It seems the fault happen during the call to Direct3DCreate8(), the function
never returns.


  // Manually load the d3d8.dll library.
  d3d8dll = LoadLibrary("d3d8.dll");
  if(d3d8dll == NULL) {
    errstr = "Can't load d3d8.dll";
    goto failure0;
  }

  // get entry point
  pDirect3DCreate8 = (LPDIRECT3DCREATE8) GetProcAddress(d3d8dll,
                                                        "Direct3DCreate8");

  if (pDirect3DCreate8 == NULL) {
    errstr = "Can't find Direct3DCreate8()";
    goto failure1;
  }

  pIDirect3D8 = pDirect3DCreate8(D3D_SDK_VERSION);
  if (pIDirect3D8 == NULL) {
    errstr = "can't create IDirect3D8 interface";
    goto failure1;
  }

  count = IDirect3D8_GetAdapterCount(pIDirect3D8);

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